version 1.71 | | version 1.72 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.71 2005/08/31 21:53:09 akirschbaum Exp $"; | | * "$Id: request.c,v 1.72 2005/10/01 16:36:35 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
AddIfFloat(pl->last_speed, pl->ob->speed, CS_STAT_SPEED); | | AddIfFloat(pl->last_speed, pl->ob->speed, CS_STAT_SPEED); |
AddIfShort(pl->last_stats.food, pl->ob->stats.food, CS_STAT_FOOD); | | AddIfShort(pl->last_stats.food, pl->ob->stats.food, CS_STAT_FOOD); |
AddIfFloat(pl->last_weapon_sp, pl->weapon_sp, CS_STAT_WEAP_SP); | | AddIfFloat(pl->last_weapon_sp, pl->weapon_sp, CS_STAT_WEAP_SP); |
AddIfInt(pl->last_weight_limit, weight_limit[pl->ob->stats.Str], CS_STAT_WEIGHT_LIM); | | AddIfInt(pl->last_weight_limit, (sint32)weight_limit[pl->ob->stats.Str], CS_STAT_WEIGHT_LIM); |
flags=0; | | flags=0; |
if (pl->fire_on) flags |=SF_FIREON; | | if (pl->fire_on) flags |=SF_FIREON; |
if (pl->run_on) flags |= SF_RUNON; | | if (pl->run_on) flags |= SF_RUNON; |