| 1785 | } |
| 1786 | |
| 1787 | void Creature::stopComputeVisualDebugEntities() |
| 1788 | { |
| 1789 | if(!getIsOnServerMap()) |
| 1790 | return; |
| 1791 | |
| 1792 | mHasVisualDebuggingEntities = false; |
| 1793 | |
| 1794 | ServerNotification *serverNotification = new ServerNotification( |
| 1795 | ServerNotificationType::refreshCreatureVisDebug, nullptr); |
| 1796 | const std::string& name = getName(); |
| 1797 | serverNotification->mPacket << name; |
| 1798 | serverNotification->mPacket << false; |
| 1799 | ODServer::getSingleton().queueServerNotification(serverNotification); |
| 1800 | } |
| 1801 | |
| 1802 | void Creature::destroyVisualDebugEntities() |
| 1803 | { |
no test coverage detected