X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fgraphics.cpp;h=7b8da92741b4655be0863cc5dafaedeef854fd06;hb=HEAD;hp=9e5654401ceadbd7a0ea0f29c10fdba14d7bb27a;hpb=6d93c744add4c06b85cf6c6d7e6317536a5c8ec1;p=quix0rs-blobwars.git diff --git a/src/graphics.cpp b/src/graphics.cpp old mode 100755 new mode 100644 index 9e56544..7b8da92 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -1,5 +1,6 @@ /* -Copyright (C) 2004 Parallel Realities +Copyright (C) 2004-2011 Parallel Realities +Copyright (C) 2011-2015 Perpendicular Dimensions This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -24,8 +25,6 @@ void showAllSprites() { loadResources(); - Sprite *sprite = graphics.getSpriteHead(); - int x, y, h; unsigned int frameLimit = SDL_GetTicks() + 16; @@ -41,7 +40,7 @@ void showAllSprites() SDL_FillRect(graphics.screen, NULL, graphics.black); - sprite = graphics.getSpriteHead(); + Sprite *sprite = graphics.getSpriteHead(); while (sprite->next != NULL) {