projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20040822-3-src
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index d3728d2c2a298ba18a29f04c4f9bc56107f7529b..425c35e86f014dfbc4c079166e7bb76c1d7ccdd7 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-2944,8
+2944,8
@@
void HandleGameActions()
if (game_status != GAME_MODE_PLAYING)
return;
if (game_status != GAME_MODE_PLAYING)
return;
-#if 1
-
+ /* !!! FIX THIS (START) !!! */
+ if (level.file_info.type == LEVEL_FILE_TYPE_EM)
{
byte summarized_player_action = 0;
int i;
{
byte summarized_player_action = 0;
int i;
@@
-2959,22
+2959,20
@@
void HandleGameActions()
DrawMainMenu();
}
}
DrawMainMenu();
}
}
+ else
+ {
+ if (local_player->LevelSolved)
+ GameWon();
-#else
-
- if (local_player->LevelSolved)
- GameWon();
-
- if (AllPlayersGone && !TAPE_IS_STOPPED(tape))
- TapeStop();
-
- GameActions();
- BackToFront();
+ if (AllPlayersGone && !TAPE_IS_STOPPED(tape))
+ TapeStop();
- if (tape.auto_play && !tape.playing)
- AutoPlayTape(); /* continue automatically playing next tape */
+ GameActions();
+ BackToFront();
-#endif
+ if (tape.auto_play && !tape.playing)
+ AutoPlayTape(); /* continue automatically playing next tape */
+ }
}
/* ---------- new screen button stuff -------------------------------------- */
}
/* ---------- new screen button stuff -------------------------------------- */