summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);