From ccfcc5f86f4b1e904839a6a921c807226ce34b67 Mon Sep 17 00:00:00 2001 From: sudlud Date: Sat, 8 Feb 2025 07:04:58 +0100 Subject: [PATCH] Update PlayerMethods.h - remove unused variable to fix core build (#255) --- src/LuaEngine/methods/PlayerMethods.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/LuaEngine/methods/PlayerMethods.h b/src/LuaEngine/methods/PlayerMethods.h index 5501182..2f64078 100644 --- a/src/LuaEngine/methods/PlayerMethods.h +++ b/src/LuaEngine/methods/PlayerMethods.h @@ -4025,8 +4025,6 @@ namespace LuaPlayer std::string tele = Eluna::CHECKVAL(L, 2); const GameTele* game_tele = sObjectMgr->GetGameTele(tele); - MapEntry const* map = sMapStore.LookupEntry(game_tele->mapId); - if (player->IsInFlight()) { player->GetMotionMaster()->MovementExpired();