Reindend, compile out all save stuff

This commit is contained in:
NHOrus 2017-07-01 16:46:51 +03:00
parent 8cc5ee5412
commit 45820bc8cd
2 changed files with 21 additions and 10 deletions

View file

@ -93,12 +93,20 @@ static int attack(struct command_t *command)
}
spk = (dwarves > 1) ? OGRE_PANIC1 : OGRE_PANIC2;
} else if (obj == BEAR) {
switch (game.prop[BEAR]) {
case UNTAMED_BEAR: spk = BEAR_HANDS; break;
case SITTING_BEAR: spk = BEAR_CONFUSED; break;
case CONTENTED_BEAR: spk = BEAR_CONFUSED; break;
case BEAR_DEAD: spk = ALREADY_DEAD; break;
}
switch (game.prop[BEAR]) {
case UNTAMED_BEAR:
spk = BEAR_HANDS;
break;
case SITTING_BEAR:
spk = BEAR_CONFUSED;
break;
case CONTENTED_BEAR:
spk = BEAR_CONFUSED;
break;
case BEAR_DEAD:
spk = ALREADY_DEAD;
break;
}
} else if (obj == DRAGON && game.prop[DRAGON] == 0) {
/* Fun stuff for dragon. If he insists on attacking it, win!
* Set game.prop to dead, move dragon to central loc (still