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 271276f commit 981dc7a
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

1 comment on commit 981dc7a

@killerwife
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If possible going forward, prefix your commits with Playersbots: so that I can safely ignore them when doing porting.

Please sign in to comment.