summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authoraura <nw@moneybot.cc>2026-03-14 01:12:57 +0100
committerday <day@national.shitposting.agency>2026-03-15 19:20:13 +0100
commitfed4ed30fa727e528aa4ee3fad1b5123e022c6be (patch)
tree0053800c66ee101d4119d4ad6362631391e9647a /src/game
parentc205cb8ac24c0a34960c41879708e7c25c19a353 (diff)
fix textures in 2d render, some bugfix
Diffstat (limited to 'src/game')
-rw-r--r--src/game/physics/movement.cpp2
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;
}