Add ifdef debug around handle debug options (#1382)
This commit is contained in:
1 parent
d7c0830eb4
commit
a4ca19ff17
1 file changed
+4
-2
@@ -1630,8 +1630,10 @@ bool PlayerConnection::isDisconnected()
|
||||
|
||||
void PlayerConnection::handleDebugOptions(shared_ptr<DebugOptionsPacket> packet)
|
||||
{
|
||||
//Player player = dynamic_pointer_cast<Player>( player->shared_from_this() );
|
||||
player->SetDebugOptions(packet->m_uiVal);
|
||||
#ifdef _DEBUG
|
||||
// Player player = dynamic_pointer_cast<Player>( player->shared_from_this() );
|
||||
player->SetDebugOptions(packet->m_uiVal);
|
||||
#endif
|
||||
}
|
||||
|
||||
void PlayerConnection::handleCraftItem(shared_ptr<CraftItemPacket> packet)
|
||||
|
||||
Reference in new issue
Block a user