Fixed crash in case of standalone server.

This commit is contained in:
hiker
2016-11-14 10:15:40 +11:00
parent 245045f575
commit 13bcdcade6

View File

@@ -1841,8 +1841,9 @@ video::ITexture* IrrDriver::applyMask(video::ITexture* texture,
// ----------------------------------------------------------------------------
void IrrDriver::onLoadWorld()
{
#ifndef SERVER_ONLY
m_renderer->onLoadWorld();
#endif
} // onLoadWorld
// ----------------------------------------------------------------------------