diff options
| author | aura <nw@moneybot.cc> | 2026-03-14 01:12:57 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-14 01:12:57 +0100 |
| commit | c3f29220eac1d1ed90f1262a55cd65c41d7a3b1e (patch) | |
| tree | 83c8fd4cafb65f476fcc27578fef2b5db8925a91 /src/game/physics | |
| parent | 59ca7ecafca84fa62ee8d54d0e48521b7e4c0a95 (diff) | |
fix textures in 2d render, some bugfix
Diffstat (limited to 'src/game/physics')
| -rw-r--r-- | src/game/physics/movement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/physics/movement.cpp b/src/game/physics/movement.cpp index 3979394..094bc81 100644 --- a/src/game/physics/movement.cpp +++ b/src/game/physics/movement.cpp @@ -86,7 +86,7 @@ void gmove_check_velocity() { for( U32 i = 0; i < 3; ++i ) { F32* v = &gmove->pl->velocity[i]; - if( isnan( *v ) ) *v = 0.f; continue; + if( isnan( *v ) ) { *v = 0.f; continue; } if( *v > maxspeed ) *v = maxspeed; if( *v < -maxspeed ) *v = -maxspeed; } |
