summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-24 03:18:56 +0000
committermomacabu <momacabu@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-24 03:18:56 +0000
commit90e5648a7865e72846c9a41754c4f71e89a1739d (patch)
tree28992375572365b8a1bf78905d931c3db3cbc69d /src
parenta691c52d01236996087f39487d0aaf267b25753b (diff)
downloadhercules-90e5648a7865e72846c9a41754c4f71e89a1739d.tar.gz
hercules-90e5648a7865e72846c9a41754c4f71e89a1739d.tar.bz2
hercules-90e5648a7865e72846c9a41754c4f71e89a1739d.tar.xz
hercules-90e5648a7865e72846c9a41754c4f71e89a1739d.zip
* Added missing check for riding wug in checkwug. Thanks to PcPocket!
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17041 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 26d70f4ce..a02c33cf8 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8442,7 +8442,7 @@ BUILDIN_FUNC(checkwug)
if( sd == NULL )
return 0;// no player attached, report source
- if( pc_iswug(sd) )
+ if( pc_iswug(sd) || pc_isridingwug(sd) )
script_pushint(st, 1);
else
script_pushint(st, 0);