summaryrefslogtreecommitdiff
path: root/src/map/script-fun.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@gmail.com>2015-03-02 15:28:58 -0500
committermekolat <mekolat@gmail.com>2015-03-29 00:00:12 -0400
commit59bc56068fc24b36e7beb383a3843a4e53bc0b00 (patch)
tree776f0f1f79366c1f34044bc3f4446b01dd249856 /src/map/script-fun.cpp
parent6f4699ff0c6400a2adc5e4008b2e289737f4a303 (diff)
downloadtmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.tar.gz
tmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.tar.bz2
tmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.tar.xz
tmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.zip
add support for manaplus emotes
Diffstat (limited to 'src/map/script-fun.cpp')
-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);
}