projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean up dummy macro arguments.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 3c10dad85d60861d1df372100b7df477c884cc2c..8bf0c1aeb6f45bbbcd44bd36990415f46bde4479 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-713,7
+713,7
@@
L2000: if (game.loc == 0)
KK=STEXT[game.loc];
if (MOD(game.abbrev[game.loc],game.abbnum) == 0 || KK == 0)
KK=LTEXT[game.loc];
KK=STEXT[game.loc];
if (MOD(game.abbrev[game.loc],game.abbnum) == 0 || KK == 0)
KK=LTEXT[game.loc];
- if (!FORCED(game.loc) && DARK(
0
)) {
+ if (!FORCED(game.loc) && DARK(
game.loc
)) {
/* The easiest way to get killed is to fall into a pit in
* pitch darkness. */
if (game.wzdark && PCT(35)) {
/* The easiest way to get killed is to fall into a pit in
* pitch darkness. */
if (game.wzdark && PCT(35)) {
@@
-740,7
+740,7
@@
L2000: if (game.loc == 0)
* bear). These hacks are because game.prop=0 is needed to
* get full score. */
* bear). These hacks are because game.prop=0 is needed to
* get full score. */
- if (DARK(
0
)) goto L2012;
+ if (DARK(
game.loc
)) goto L2012;
++game.abbrev[game.loc];
i=game.atloc[game.loc];
L2004: if (i == 0) goto L2012;
++game.abbrev[game.loc];
i=game.atloc[game.loc];
L2004: if (i == 0) goto L2012;
@@
-806,7
+806,7
@@
L2603: if (game.closed) {
game.prop[i] = -1-game.prop[i];
}
}
game.prop[i] = -1-game.prop[i];
}
}
- game.wzdark=DARK(
0
);
+ game.wzdark=DARK(
game.loc
);
if (game.knfloc > 0 && game.knfloc != game.loc)
game.knfloc=0;
if (game.knfloc > 0 && game.knfloc != game.loc)
game.knfloc=0;