mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
Restore SDL_main in CMT.cpp
This commit is contained in:
parent
e23dfec6c5
commit
f4d67fe675
client
@ -36,6 +36,8 @@
|
||||
#include <boost/program_options.hpp>
|
||||
#include <vstd/StringUtils.h>
|
||||
|
||||
#include <SDL_main.h>
|
||||
|
||||
#ifdef VCMI_ANDROID
|
||||
#include "../lib/CAndroidVMHelper.h"
|
||||
#include <SDL_system.h>
|
||||
|
@ -132,7 +132,7 @@ void CMinimap::moveAdvMapSelection()
|
||||
int3 newLocation = pixelToTile(GH.getCursorPosition() - pos.topLeft());
|
||||
adventureInt->centerOnTile(newLocation);
|
||||
|
||||
if (!(adventureInt->isActive() & GENERAL))
|
||||
if (!(adventureInt->isActive()))
|
||||
GH.windows().totalRedraw(); //redraw this as well as inactive adventure map
|
||||
else
|
||||
redraw();//redraw only this
|
||||
|
Loading…
x
Reference in New Issue
Block a user