projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added overlay touch buttons for door request dialog
[rocksndiamonds.git]
/
src
/
game_em
/
synchro_1.c
diff --git
a/src/game_em/synchro_1.c
b/src/game_em/synchro_1.c
index cea29bb22a9db0e072181f7a86ddcbd065a80444..b390ad916e71dfeec0f108d8fa38d81edbdd9b7b 100644
(file)
--- a/
src/game_em/synchro_1.c
+++ b/
src/game_em/synchro_1.c
@@
-1069,6
+1069,9
@@
static boolean player_digfield(struct PLAYER *ply, int dx, int dy)
case Xexit_3:
lev.home--;
+ if (lev.home == 0)
+ game_em.level_solved = TRUE;
+
ply->anim = SPR_walk + anim;
ply->x = x;
ply->y = y;