mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[12128] Fix more warnings - close #4
* Remove warning: enumeration value '<value>' not handled in switch * Remove warning: enumeral and non-enumeral type in conditional expression * Remove warning: too many arguments for format Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
1707edbcfd
commit
6e76dbae3f
16 changed files with 43 additions and 16 deletions
|
|
@ -434,6 +434,8 @@ void GameObject::Update(uint32 update_diff, uint32 p_time)
|
|||
m_UniqueUsers.clear();
|
||||
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
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (!HasStaticDBSpawnData()) // Remove wild summoned after use
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue