From 8ff84fec8719cc0c8ae94f3e242600fcf00b2cd3 Mon Sep 17 00:00:00 2001 From: killerwife Date: Fri, 22 Sep 2023 19:56:52 +0200 Subject: [PATCH] GameObject: Generic check for ignoring GO los by marking it m2 is incorrect Tested stratholme back entrance on official and vs ours and it is meant to produce LOS If some GOs are confirmed to ignore los, need to go the per go route --- src/game/vmap/GameObjectModel.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/game/vmap/GameObjectModel.cpp b/src/game/vmap/GameObjectModel.cpp index 925e4c20b1..9821c7f602 100644 --- a/src/game/vmap/GameObjectModel.cpp +++ b/src/game/vmap/GameObjectModel.cpp @@ -93,9 +93,6 @@ bool GameObjectModel::initialize(const GameObject* const pGo, const GameObjectDi if (!iModel) return false; - if (it->second.name.find(".m2") != std::string::npos) - iModel->setModelFlags(VMAP::MOD_M2); - name = it->second.name; iPos = Vector3(pGo->GetPositionX(), pGo->GetPositionY(), pGo->GetPositionZ()); collision_enabled = true;