| 87 | } |
| 88 | |
| 89 | void CGameObject::SetFlags(uint8_t val) |
| 90 | { |
| 91 | bool poisoned = IsPoisoned(); |
| 92 | bool yellowHits = YellowHits(); |
| 93 | m_Flags = val; |
| 94 | if (poisoned != IsPoisoned() || yellowHits != YellowHits()) |
| 95 | { |
| 96 | g_GumpManager.UpdateContent(Serial, 0, GT_STATUSBAR); |
| 97 | g_GumpManager.UpdateContent(Serial, 0, GT_TARGET_SYSTEM); |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | void CGameObject::SetName(const astr_t &newName) |
| 102 | { |
no test coverage detected