projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment fix.
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index 6cd73b562d218bf489abc5269d0e7bd54332ffea..e88773e94245869e39f0dc3ce598c0f82127a647 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-183,7
+183,7
@@
static int blast(void)
if (HERE(ROD2))
game.bonus=135;
RSPEAK(game.bonus);
if (HERE(ROD2))
game.bonus=135;
RSPEAK(game.bonus);
- score(
0
);
+ score(
endgame
);
return GO_CLEAROBJ; /* pacify compiler - we never get here */
}
return GO_CLEAROBJ; /* pacify compiler - we never get here */
}
@@
-777,7
+777,7
@@
static int quit(FILE *input)
/* Quit. Intransitive only. Verify intent and exit if that's what he wants. */
{
if (YES(input,REALLY_QUIT,OK_MAN,OK_MAN))
/* Quit. Intransitive only. Verify intent and exit if that's what he wants. */
{
if (YES(input,REALLY_QUIT,OK_MAN,OK_MAN))
- score(
1
);
+ score(
quitgame
);
return GO_CLEAROBJ;
}
return GO_CLEAROBJ;
}
@@
-949,7
+949,7
@@
static int throw(FILE *cmdin, long verb, token_t obj)
static int vscore(void)
/* Score. Call scoring routine but tell it to return. */
{
static int vscore(void)
/* Score. Call scoring routine but tell it to return. */
{
- score(
-1
);
+ score(
scoregame
);
return GO_CLEAROBJ;
}
return GO_CLEAROBJ;
}