- code cleanup from cppcheck

- added more checks when loading models, maps and textures
This commit is contained in:
Mark Vejvoda
2012-10-20 07:15:13 +00:00
parent 9356034920
commit 64058b17e7
13 changed files with 285 additions and 117 deletions

View File

@@ -125,7 +125,7 @@ bool Window::handleEvent() {
SDL_Event event;
SDL_GetMouseState(&oldX,&oldY);
codeLocation = "b";
//codeLocation = "b";
while(SDL_PollEvent(&event)) {
try {