projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed duplicated code
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index dd9df82c71dd1bbb22e6eb9ae654837531ee6d20..eed539062318c26c5e411bc3138e469bc3586948 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-5430,10
+5430,11
@@
static int MovingOrBlocked2Element(int x, int y)
int oldx, oldy;
Blocked2Moving(x, y, &oldx, &oldy);
+
return Tile[oldx][oldy];
}
- else
-
return element;
+
+ return element;
}
static int MovingOrBlocked2ElementIfNotLeaving(int x, int y)