version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_monster_c = | | * static char *rcsid_monster_c = |
* "$Id: monster.c,v 1.9 2001/07/14 04:08:06 mwedel Exp $"; | | * "$Id: monster.c,v 1.10 2001/10/30 00:49:02 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
else { | | else { |
failed_placements++; | | failed_placements++; |
} | | } |
exp_per_sq=((double)1000*total_experience)/(MAP_WIDTH(map)*MAP_HEIGHT(map)+1); | | exp_per_sq=(long unsigned int)(((double)1000*(double)total_experience)/(double)((double)MAP_WIDTH(map)*(double)MAP_HEIGHT(map)+1)); |
} | | } |
} | | } |