]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/player.cpp
Modified windows build parameters a bit to make it build
[dragonfireclient.git] / src / player.cpp
index 07879c21adafdcfb113cef2a865ce4b2d23fd076..3bde8a56324f0bf193ab4c8a90ca29cc87f01d4b 100644 (file)
@@ -428,8 +428,7 @@ void LocalPlayer::move(f32 dtime, Map &map, f32 pos_max_d)
                        // walking over map borders
                }
 
-               core::aabbox3d<f32> nodebox = Map::getNodeBox(
-                               v3s16(x,y,z));
+               core::aabbox3d<f32> nodebox = getNodeBox(v3s16(x,y,z), BS);
                
                /*
                        See if the player is touching ground.