summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script-fun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-fun.cpp b/src/map/script-fun.cpp
index 8abb3d0..5f530cb 100644
--- a/src/map/script-fun.cpp
+++ b/src/map/script-fun.cpp
@@ -2184,7 +2184,7 @@ static
void builtin_emotion(ScriptState *st)
{
int type;
- type = conv_num(st, &AARG(0)) + 1;
+ type = conv_num(st, &AARG(0));
if (type < 0 || type > 200)
return;
clif_emotion(map_id2bl(st->oid), type);