- SW: Take full advantage of our floating point work for the wall blood drips.

This commit is contained in:
Mitchell Richters 2022-11-23 21:12:06 +11:00 committed by Christoph Oelckers
parent 1ac4aee0c1
commit e991116abf

View file

@ -18068,7 +18068,7 @@ enum
WALLBLOOD2 = 2501, WALLBLOOD2 = 2501,
WALLBLOOD3 = 2502, WALLBLOOD3 = 2502,
WALLBLOOD4 = 2503, WALLBLOOD4 = 2503,
WALLBLOOD_RATE = 30, WALLBLOOD_RATE = 1,
}; };
ANIMATOR DoWallBlood; ANIMATOR DoWallBlood;
STATE s_WallBlood1[] = STATE s_WallBlood1[] =
@ -18269,8 +18269,8 @@ int DoWallBlood(DSWActor* actor)
// Make blood drip down the wall // Make blood drip down the wall
if (actor->spr.scale.Y < 1.25) if (actor->spr.scale.Y < 1.25)
{ {
actor->spr.scale.Y += (REPEAT_SCALE); actor->spr.scale.Y += (REPEAT_SCALE) / 30.;
actor->spr.pos.Z += 0.5; actor->spr.pos.Z += 0.5 / 30.;
} }
return 0; return 0;