unnecessary ifdef

This commit is contained in:
DarthArgus
2016-05-15 21:11:29 +00:00
parent fc6fa41507
commit 321a19c315
@@ -3275,11 +3275,9 @@ void ServerObject::removeTriggerVolume(const std::string & name)
void ServerObject::sendControllerMessageToAuthServer(enum GameControllerMessage cm, MessageQueue::Data * msg, float value)
{
#ifdef _DEBUG
DEBUG_WARNING(isInEndBaselines(), ("sendControllerMessageToAuthServer while ending baselines: message id=(%d) from object id=[%s], template=[%s], on server id=[%d]", static_cast<int>(cm), getNetworkId().getValueString().c_str(), getObjectTemplateName(), static_cast<int>(GameServer::getInstance().getProcessId())));
DEBUG_WARNING(!isInitialized(), ("sendControllerMessageToAuthServer while uninitialized: message id=(%d) from object id=[%s], template=[%s], on server id=[%d]", static_cast<int>(cm), getNetworkId().getValueString().c_str(), getObjectTemplateName(), static_cast<int>(GameServer::getInstance().getProcessId())));
#endif
Controller * controller = getController();
if(controller)