Unspk'd Giant Words
This commit is contained in:
parent
248fc90e3d
commit
df2830598c
1 changed files with 9 additions and 8 deletions
11
actions.c
11
actions.c
|
@ -175,11 +175,12 @@ static int bigwords(token_t foo)
|
|||
char word[TOKLEN + 1];
|
||||
packed_to_token(foo, word);
|
||||
int k = (int) get_special_vocab_id(word);
|
||||
int spk = NOTHING_HAPPENS;
|
||||
if (game.foobar != 1 - k) {
|
||||
if (game.foobar != 0 && game.loc == LOC_GIANTROOM)
|
||||
spk = START_OVER;
|
||||
rspeak(spk);
|
||||
if (game.foobar != 0 && game.loc == LOC_GIANTROOM) {
|
||||
rspeak( START_OVER);
|
||||
} else {
|
||||
rspeak(NOTHING_HAPPENS);
|
||||
}
|
||||
return GO_CLEAROBJ;
|
||||
} else {
|
||||
game.foobar = k;
|
||||
|
@ -190,7 +191,7 @@ static int bigwords(token_t foo)
|
|||
game.foobar = 0;
|
||||
if (game.place[EGGS] == objects[EGGS].plac ||
|
||||
(TOTING(EGGS) && game.loc == objects[EGGS].plac)) {
|
||||
rspeak(spk);
|
||||
rspeak(NOTHING_HAPPENS);
|
||||
return GO_CLEAROBJ;
|
||||
} else {
|
||||
/* Bring back troll if we steal the eggs back from him before
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue