mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
actually fix ouch face again (#2080)
This commit is contained in:
parent
087e113356
commit
0fd910107c
@ -619,7 +619,7 @@ static void UpdateFace(sbe_face_t *face, player_t *player)
|
||||
boolean right = false;
|
||||
|
||||
// [FG] show "Ouch Face" as intended
|
||||
if (player->health - face->oldhealth > ST_MUCHPAIN)
|
||||
if (face->oldhealth - player->health > ST_MUCHPAIN)
|
||||
{
|
||||
// [FG] raise "Ouch Face" priority
|
||||
priority = 8;
|
||||
@ -672,7 +672,7 @@ static void UpdateFace(sbe_face_t *face, player_t *player)
|
||||
// getting hurt because of your own damn stupidity
|
||||
if (player->damagecount)
|
||||
{
|
||||
if (player->health - face->oldhealth > ST_MUCHPAIN)
|
||||
if (face->oldhealth - player->health > ST_MUCHPAIN)
|
||||
{
|
||||
priority = 7;
|
||||
face->facecount = ST_TURNCOUNT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user