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 4ca664dc6..30541a590 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -974,7 +974,7 @@ std::string Being::getSitAction() const
}
}
-void Being::setAction(const Action action, const int attackType A_UNUSED)
+void Being::setAction(const Action &action, const int attackType A_UNUSED)
{
std::string currentAction = SpriteAction::INVALID;