mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- SW: Take full advantage of our floating point work for the wall blood drips.
This commit is contained in:
parent
1ac4aee0c1
commit
e991116abf
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue