Changes dynamic_cast<> to c-style cast.

This commit is contained in:
Tigran Gasparian
2018-07-24 16:04:16 +02:00
parent c59afb88c4
commit f745eafb36

View File

@@ -1217,8 +1217,7 @@ bool PhysicsDirect::submitClientCommand(const struct SharedMemoryCommand& comman
if (m_data->m_ownsCommandProcessor) if (m_data->m_ownsCommandProcessor)
{ {
CommandProcessorInterface *commandProcessor = dynamic_cast<CommandProcessorInterface*>(m_data->m_commandProcessor); CommandProcessorInterface *commandProcessor = (CommandProcessorInterface *)m_data->m_commandProcessor;
btAssert(commandProcessor);
commandProcessor->tickPlugins(); commandProcessor->tickPlugins();
} }
/*if (hasStatus) /*if (hasStatus)