[Change] Inverted zoom in/out.

This commit is contained in:
Allanis 2014-03-09 21:21:49 +00:00
parent 793c69b3f7
commit 84220e2ed9

View File

@ -420,9 +420,9 @@ static void map_mouse(unsigned int wid, SDL_Event* event, double mx, double my)
switch(event->type) { switch(event->type) {
case SDL_MOUSEBUTTONDOWN: case SDL_MOUSEBUTTONDOWN:
if(event->button.button == SDL_BUTTON_WHEELUP) if(event->button.button == SDL_BUTTON_WHEELUP)
map_buttonZoom(0, "btnZoomOut");
else if(event->button.button == SDL_BUTTON_WHEELDOWN)
map_buttonZoom(0, "btnZoomIn"); map_buttonZoom(0, "btnZoomIn");
else if(event->button.button == SDL_BUTTON_WHEELDOWN)
map_buttonZoom(0, "btnZoomOut");
/* Selecting star system. */ /* Selecting star system. */
else { else {