]> git.mxchange.org Git - quix0rs-blobwars.git/blobdiff - src/init.cpp
Added .gitignore to ignore certain files + fixed access rights on Makefile* as
[quix0rs-blobwars.git] / src / init.cpp
index c3b9abcae481e10edcba03de166b517d4cb1a1af..8d13a502bca3ad6e80c2cd0adeab52cee8000d95 100644 (file)
@@ -369,7 +369,6 @@ void initSystem()
        }
 
        SDL_ShowCursor(SDL_DISABLE);
-       SDL_EventState(SDL_MOUSEMOTION, SDL_DISABLE);
 
        graphics.registerEngine(&engine);
        graphics.mapColors();
@@ -415,7 +414,7 @@ void initSystem()
        graphics.license[1] = graphics.loadImage("gfx/main/cc-by-sa.png", true);
 
        SDL_Surface *device = graphics.loadImage("gfx/main/alienDevice.png");
-
+       SDL_SetWindowIcon(graphics.window, device);
        SDL_FreeSurface(device);
        
        if (strstr(engine.userHomeDirectory, "/root"))