summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 7429a95d..36646006 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -167,7 +167,7 @@ Map::BlockType Being::getBlockType() const
return mInfo->getBlockType();
}
-void Being::setMoveSpeed(Vector speed)
+void Being::setMoveSpeed(const Vector &speed)
{
mMoveSpeed = speed;
// If we already can, recalculate the system speed right away.