Skip to content

Commit

Permalink
Remove gameobject los temp fix for playerbots
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Mar 23, 2024
1 parent 58dd39f commit 41d37b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/game/vmap/GameObjectModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 41d37b6

Please sign in to comment.