projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57becb6
)
rnd-20030417-2-src
author
Holger Schemel
<info@artsoft.org>
Thu, 17 Apr 2003 09:48:15 +0000
(11:48 +0200)
committer
Holger Schemel
<info@artsoft.org>
Sat, 30 Aug 2014 08:41:17 +0000
(10:41 +0200)
src/conftime.h
patch
|
blob
|
history
src/main.h
patch
|
blob
|
history
diff --git
a/src/conftime.h
b/src/conftime.h
index bd3d788642061dd45d9856aa88a9b7d765e5b1df..bf53cc5405e7f6d9ae10b91c4aa031e183c2e030 100644
(file)
--- a/
src/conftime.h
+++ b/
src/conftime.h
@@
-1
+1
@@
-#define COMPILE_DATE_STRING "[2003-04-17
00:11
]"
+#define COMPILE_DATE_STRING "[2003-04-17
10:03
]"
diff --git
a/src/main.h
b/src/main.h
index 025e1b1c5f9266982a72c957449fe6a11543cc65..2d5910757ccec644e94ab7e673cb12adbacf178f 100644
(file)
--- a/
src/main.h
+++ b/
src/main.h
@@
-205,7
+205,7
@@
#define PLAYERINFO(x,y) (&stored_player[StorePlayer[x][y]-EL_PLAYER_1])
#define SHIELD_ON(p) ((p)->shield_normal_time_left > 0)
-#define PROTECTED_FIELD(x,y) (IS_WALKABLE_
UNDER(Feld[x][y]) &&
\
+#define PROTECTED_FIELD(x,y) (IS_WALKABLE_
THROUGH(Feld[x][y]) &&
\
IS_INDESTRUCTIBLE(Feld[x][y]))
#define PLAYER_PROTECTED(x,y) (SHIELD_ON(PLAYERINFO(x, y)) || \
PROTECTED_FIELD(x, y))