[Change] Inverted zoom in/out.
This commit is contained in:
parent
793c69b3f7
commit
84220e2ed9
@ -420,9 +420,9 @@ static void map_mouse(unsigned int wid, SDL_Event* event, double mx, double my)
|
||||
switch(event->type) {
|
||||
case SDL_MOUSEBUTTONDOWN:
|
||||
if(event->button.button == SDL_BUTTON_WHEELUP)
|
||||
map_buttonZoom(0, "btnZoomOut");
|
||||
else if(event->button.button == SDL_BUTTON_WHEELDOWN)
|
||||
map_buttonZoom(0, "btnZoomIn");
|
||||
else if(event->button.button == SDL_BUTTON_WHEELDOWN)
|
||||
map_buttonZoom(0, "btnZoomOut");
|
||||
|
||||
/* Selecting star system. */
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user