comparison srogue/pstats.c @ 242:b49d8b963df3

Fix some functions not returning the right type.
author John "Elwin" Edwards
date Sat, 19 Mar 2016 16:18:58 -0400
parents 94a0d9dd5ce1
children e7862a021609
comparison
equal deleted inserted replaced
241:d0f652010675 242:b49d8b963df3
355 case F_OKAY: 355 case F_OKAY:
356 case F_HUNGRY: return 0; 356 case F_HUNGRY: return 0;
357 when F_WEAK: return -1; 357 when F_WEAK: return -1;
358 when F_FAINT: return -2; 358 when F_FAINT: return -2;
359 } 359 }
360 return 0;
360 } 361 }
361 362
362 /* 363 /*
363 * heal_self: 364 * heal_self:
364 * Heal the hero. 365 * Heal the hero.