summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 95fbd6f4..934155dd 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -810,13 +810,13 @@ void LocalPlayer::toggleSit()
Net::getPlayerHandler()->changeAction(newAction);
}
-void LocalPlayer::emote(Uint8 emotion)
+void LocalPlayer::emote(int emoteId)
{
if (mLastActionTime != -1)
return;
mLastActionTime = tick_time;
- Net::getPlayerHandler()->emote(emotion);
+ Net::getPlayerHandler()->emote(emoteId);
}
void LocalPlayer::attack(Being *target, bool keep)