Be sure your seal item have mount vnum on value1 to avoid mounting 0

This commit is contained in:
Mitachi
2024-02-17 05:01:24 +01:00
parent 49d9feae87
commit 1fc17538f1

View File

@ -9,7 +9,8 @@
#ifdef ENABLE_MOUNT_LIKE_HORSE
if (const LPITEM pMountItem = GetWear(WEAR_COSTUME_MOUNT))
dwMountVnum = pMountItem->GetValue(1);
if (CMobVnumHelper::IsMount(dwMountVnum))
dwMountVnum = pMountItem->GetValue(1);
#endif
// then search: