From: Holger Schemel Date: Tue, 16 Mar 1999 23:17:21 +0000 (+0100) Subject: rnd-19990317-1-src X-Git-Tag: 1.4.0^2~29 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=bb33b871657d1af6beda881e33b536512815aa9b;p=rocksndiamonds.git rnd-19990317-1-src --- diff --git a/src/Makefile b/src/Makefile index fb7dd26a..6c81021d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -59,7 +59,7 @@ PROGNAME = ../rocksndiamonds LIBS = -L$(XLIB_PATH) $(EXTRA_X11_LIBS) -lX11 -lm $(EXTRA_LIBS) else RM = del -PROGNAME = ..\rocks.exe +PROGNAME = ../rocks.exe LIBS = -lm -lalleg endif diff --git a/src/game.c b/src/game.c index 2cabfe2f..d4860369 100644 --- a/src/game.c +++ b/src/game.c @@ -1114,8 +1114,10 @@ void Explode(int ex, int ey, int phase, int mode) if (IS_MOVING(ex, ey) || IS_BLOCKED(ex, ey)) { + /* put moving element to center field (and let it explode there) */ center_element = MovingOrBlocked2Element(ex, ey); RemoveMovingField(ex, ey); + Feld[ex][ey] = center_element; } for (y=ey-1; y<=ey+1; y++) for(x=ex-1; x<=ex+1; x++)