Skip to content

Commit

Permalink
- SW: Take full advantage of our floating point work for the wall blo…
Browse files Browse the repository at this point in the history
…od drips.
  • Loading branch information
mjr4077au committed Nov 26, 2022
1 parent 72a0e1e commit 72209f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/games/sw/src/weapon.cpp
Expand Up @@ -18068,7 +18068,7 @@ enum
WALLBLOOD2 = 2501,
WALLBLOOD3 = 2502,
WALLBLOOD4 = 2503,
WALLBLOOD_RATE = 30,
WALLBLOOD_RATE = 1,
};
ANIMATOR DoWallBlood;
STATE s_WallBlood1[] =
Expand Down Expand Up @@ -18269,8 +18269,8 @@ int DoWallBlood(DSWActor* actor)
// Make blood drip down the wall
if (actor->spr.scale.Y < 1.25)
{
actor->spr.scale.Y += (REPEAT_SCALE);
actor->spr.pos.Z += 0.5;
actor->spr.scale.Y += (REPEAT_SCALE) / 30.;
actor->spr.pos.Z += 0.5 / 30.;
}

return 0;
Expand Down

0 comments on commit 72209f0

Please sign in to comment.