Permalink
Browse files

Fix cp disappearing after being locked

This is an issue with existing code which thinks its a burning flag in bg which is wrong.
  • Loading branch information...
1 parent e52fc9e commit af669667a10118208a2ab90dbc1edd897f76afea @stfx stfx committed Feb 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/game/GameObject.cpp
View
3 src/game/GameObject.cpp
@@ -426,7 +426,8 @@ void GameObject::Update(uint32 update_diff, uint32 /*p_time*/)
}
m_UniqueUsers.clear();
- break;
+ SetLootState(GO_READY);
+ return; // SetLootState and return because go is treated as "burning flag" due to GetGoAnimProgress() being 100 and would be removed on the client
}
if (GetOwnerGuid())

0 comments on commit af66966

Please sign in to comment.