]> git.lizzy.rs Git - minetest.git/blobdiff - src/localplayer.cpp
Remove Android makefile ugly make -j hack
[minetest.git] / src / localplayer.cpp
index cb183947a74d3108f74fddaace3396654768ec8b..55578422e8a2fea792e26b56dd2f537dd8124f68 100644 (file)
@@ -172,7 +172,7 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d,
        f32 d = 0.15*BS;
 
        // This should always apply, otherwise there are glitches
-       assert(d > pos_max_d);
+       sanity_check(d > pos_max_d);
 
        // Maximum distance over border for sneaking
        f32 sneak_max = BS*0.4;