diff options
Diffstat (limited to 'src/clientiface.cpp')
-rw-r--r-- | src/clientiface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientiface.cpp b/src/clientiface.cpp index 361315c3b..fdabcc783 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -95,7 +95,7 @@ void RemoteClient::GetNextBlocks ( } v3f playerpos = sao->getBasePosition(); - v3f playerspeed = player->getSpeed(); + const v3f &playerspeed = player->getSpeed(); v3f playerspeeddir(0,0,0); if(playerspeed.getLength() > 1.0*BS) playerspeeddir = playerspeed / playerspeed.getLength(); |