diff options
author | mekolat <mekolat@gmail.com> | 2015-03-02 15:28:58 -0500 |
---|---|---|
committer | mekolat <mekolat@gmail.com> | 2015-03-29 00:00:12 -0400 |
commit | 59bc56068fc24b36e7beb383a3843a4e53bc0b00 (patch) | |
tree | 776f0f1f79366c1f34044bc3f4446b01dd249856 /src/map | |
parent | 6f4699ff0c6400a2adc5e4008b2e289737f4a303 (diff) | |
download | tmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.tar.gz tmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.tar.bz2 tmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.tar.xz tmwa-59bc56068fc24b36e7beb383a3843a4e53bc0b00.zip |
add support for manaplus emotes
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/script-fun.cpp | 4 |
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); } |