Fix server only build

This commit is contained in:
Benau 2019-06-12 00:34:32 +08:00
parent d7cd98f636
commit c398ba4484

@ -232,6 +232,7 @@ void NetworkingLobby::init()
// ----------------------------------------------------------------------------
void NetworkingLobby::addMoreServerInfo(core::stringw info)
{
#ifndef SERVER_ONLY
const unsigned box_width = m_text_bubble->getDimension().Width;
const float box_height = m_text_bubble->getDimension().Height;
// For future copy text from lobby chat
@ -259,7 +260,7 @@ void NetworkingLobby::addMoreServerInfo(core::stringw info)
m_text_bubble->getIrrlichtElement<gui::IGUIStaticText>();
st->setUseGlyphLayoutsOnly(true);
st->setGlyphLayouts(m_server_info);
#endif
} // addMoreServerInfo
// ----------------------------------------------------------------------------