… | … | ||
---|---|---|---|
245 | return; | 245 | return; |
246 | } | 246 | } |
247 | 247 | ||
248 | if (op->stats.food == 1) | 248 | if (op->stats.food == 1) |
249 | { | 249 | { |
250 | /* need to remove the object before fix_player is called, else fix_player | 250 | /* need to unapply the object before update_stats is called, else fix_player |
251 | * will not do anything. | 251 | * will not do anything. |
252 | */ | 252 | */ |
253 | if (op->env->type == PLAYER) | 253 | if (op->env->type == PLAYER) |
254 | { | 254 | { |
255 | CLEAR_FLAG (op, FLAG_APPLIED); | 255 | CLEAR_FLAG (op, FLAG_APPLIED); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |