Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
magcius committed Aug 31, 2024
1 parent c9af6f5 commit f2d1157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d/actor/d_a_syan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static BOOL daSyan_Execute(syan_class* i_this) {
cXyz dir(dirZ, 0.1f, dirZ);
emtr->setDirection(dir);

f32 dirMag = sqrtf(dirX*dirX + dirZ*dirZ);
f32 dirMag = std::sqrtf(dirX*dirX + dirZ*dirZ);
f32 scaleY = (REG0_F(12) + 2.0f) * dirMag + 1.0f;
if (scaleY > REG0_F(13) + 4.0f)
scaleY = REG0_F(13) + 4.0f;
Expand Down

0 comments on commit f2d1157

Please sign in to comment.