summaryrefslogtreecommitdiff
path: root/src/map/script-fun.cpp
diff options
context:
space:
mode:
authormeko <mekolat@users.noreply.github.com>2015-03-29 00:22:39 -0400
committermeko <mekolat@users.noreply.github.com>2015-03-29 00:22:39 -0400
commit0d7e222f58208498638045ac737f505152dca50c (patch)
treecdbd902a66c0be3b33ab6eddf55c03c05b59d023 /src/map/script-fun.cpp
parent59bc56068fc24b36e7beb383a3843a4e53bc0b00 (diff)
downloadtmwa-0d7e222f58208498638045ac737f505152dca50c.tar.gz
tmwa-0d7e222f58208498638045ac737f505152dca50c.tar.bz2
tmwa-0d7e222f58208498638045ac737f505152dca50c.tar.xz
tmwa-0d7e222f58208498638045ac737f505152dca50c.zip
Update script-fun.cpp
Diffstat (limited to 'src/map/script-fun.cpp')
-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);