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