X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=26cc84cc2a8a61d0e95a9cd347f74368a549ebff;hb=3d97e3d9c20a984e70dae5e63e7c5069fb136c91;hp=a2aea40a77eedc5ec521b8d2b21d2d51f3700a88;hpb=19e168a132d1c0543a13cbf9495f579c137dea94;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index a2aea40a..26cc84cc 100644 --- a/src/game.c +++ b/src/game.c @@ -99,60 +99,6 @@ /* to control special behaviour of certain game elements */ int game_emulation = EMU_NONE; - - -#ifdef DEBUG -#if 0 -static unsigned int getStateCheckSum(int counter) -{ - int x, y; - unsigned int mult = 1; - unsigned int checksum = 0; - /* - static short lastFeld[MAX_LEV_FIELDX][MAX_LEV_FIELDY]; - */ - static boolean first_game = TRUE; - - for (y=0; yeffective_action = summarized_player_action; @@ -3700,7 +3684,7 @@ void ScrollFigure(struct PlayerInfo *player, int mode) void ScrollScreen(struct PlayerInfo *player, int mode) { - static long screen_frame_counter = 0; + static unsigned long screen_frame_counter = 0; if (mode == SCROLL_INIT) {