]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/init.cpp
Fix building pak.exe.
[quix0rs-blobwars.git] / src / init.cpp
index 4376c4185ceefa713f53d2d84bd868e4f4bad30b..b461e7bfad1de9906fbd893b3839544b5bd723e3 100644 (file)
@@ -209,6 +209,8 @@ void saveConfig()
 //
 int initMedalService(void *data)
 {
+       (void)data;
+
        SDL_mutexP(medalServer.lock);
        
        char connectMessage[1024];
@@ -293,7 +295,7 @@ void initSystem()
        }
 
        // Increase the size of the window if we have large desktop resolutions
-       SDL_DisplayMode displayMode = {0};
+       SDL_DisplayMode displayMode = {};
        SDL_GetDesktopDisplayMode(0, &displayMode);
        int w = graphics.screen->w;
        int h = graphics.screen->h;
@@ -367,7 +369,6 @@ void initSystem()
        }
 
        SDL_ShowCursor(SDL_DISABLE);
-       SDL_EventState(SDL_MOUSEMOTION, SDL_DISABLE);
 
        graphics.registerEngine(&engine);
        graphics.mapColors();