Move MAXDIE computation to dungeonmaker.

This commit is contained in:
Eric S. Raymond 2017-06-07 15:33:22 -04:00
parent fa2fb48436
commit ed80d6dd2f
5 changed files with 13 additions and 7 deletions

5
init.c
View file

@ -369,11 +369,6 @@ void initialise(void)
game.knfloc=0;
game.detail=0;
game.abbnum=5;
for (i=0; i<=4; i++) {
long x = 2*i+81;
if(RTEXT[x] != 0)
MAXDIE=i+1;
}
game.numdie=0;
game.holdng=0;
game.dkill=0;