From 981dc7a84d05a8b2685afc7cf0414712d0697690 Mon Sep 17 00:00:00 2001 From: Flekz Date: Sat, 23 Mar 2024 20:42:56 +0000 Subject: [PATCH] Remove gameobject los temp fix for playerbots --- src/game/vmap/GameObjectModel.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/game/vmap/GameObjectModel.cpp b/src/game/vmap/GameObjectModel.cpp index 6899f8e7c5..9821c7f602 100644 --- a/src/game/vmap/GameObjectModel.cpp +++ b/src/game/vmap/GameObjectModel.cpp @@ -93,12 +93,6 @@ bool GameObjectModel::initialize(const GameObject* const pGo, const GameObjectDi if (!iModel) return false; -#ifdef ENABLE_PLAYERBOTS - // Bots need this to see the game objects - if (it->second.name.find(".m2") != std::string::npos) - iModel->setModelFlags(VMAP::MOD_M2); -#endif - name = it->second.name; iPos = Vector3(pGo->GetPositionX(), pGo->GetPositionY(), pGo->GetPositionZ()); collision_enabled = true;