projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3837cd8
)
fixed switching from inactive to active Supaplex terminal
author
Holger Schemel
<info@artsoft.org>
Sun, 3 Jan 2016 13:04:09 +0000
(14:04 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 3 Jan 2016 13:04:09 +0000
(14:04 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index 388dd2e80fd5254abfbed2cfae7e745685dfb810..adc7f2d61734596f0d3e4eb014e4f0fa340d7d36 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-13656,9
+13656,16
@@
static int DigField(struct PlayerInfo *player,
SCAN_PLAYFIELD(xx, yy)
{
if (Feld[xx][yy] == EL_SP_DISK_YELLOW)
+ {
Bang(xx, yy);
+ }
else if (Feld[xx][yy] == EL_SP_TERMINAL)
+ {
Feld[xx][yy] = EL_SP_TERMINAL_ACTIVE;
+
+ ResetGfxAnimation(xx, yy);
+ TEST_DrawLevelField(xx, yy);
+ }
}
}
else if (IS_BELT_SWITCH(element))