mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[10618] Properly update objects usable state at GM-mode on/off.
This commit is contained in:
parent
d3c1780f55
commit
099f375961
2 changed files with 2 additions and 1 deletions
|
|
@ -2410,6 +2410,7 @@ void Player::SetGameMaster(bool on)
|
||||||
|
|
||||||
m_camera.UpdateVisibilityForOwner();
|
m_camera.UpdateVisibilityForOwner();
|
||||||
UpdateObjectVisibility();
|
UpdateObjectVisibility();
|
||||||
|
UpdateForQuestWorldObjects();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::SetGMVisible(bool on)
|
void Player::SetGMVisible(bool on)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "10617"
|
#define REVISION_NR "10618"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue