summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index a3212d43f..3bfe53522 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4257,7 +4257,7 @@ ACMD_FUNC(mount_peco)
return 0;
}
if( (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC ) {
- if( !(sd->sc.option&OPTION_MADOGEAR) ) {
+ if( !pc_ismadogear(sd) ) {
clif_displaymessage(sd->fd,"You have mounted your Mado Gear");
pc_setoption(sd, sd->sc.option|OPTION_MADOGEAR);
} else {