From 1fc17538f1d9f971c3ac57f73888b3340c23fb47 Mon Sep 17 00:00:00 2001 From: Mitachi <70312009+Mitachi2611@users.noreply.github.com> Date: Sat, 17 Feb 2024 05:01:24 +0100 Subject: [PATCH] Be sure your seal item have mount vnum on value1 to avoid mounting 0 --- Srcs-Server/game/src/char_horse.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Srcs-Server/game/src/char_horse.cpp b/Srcs-Server/game/src/char_horse.cpp index 7538def..db27da7 100644 --- a/Srcs-Server/game/src/char_horse.cpp +++ b/Srcs-Server/game/src/char_horse.cpp @@ -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: