mirror of
https://github.com/edubart/otclient.git
synced 2025-12-26 17:57:11 +01:00
Refactoring and flexibility changes
* Split game module into game and game_interface * Move core_lib to corelib * Move miniwindow to corelib * Introduce init.lua script for initializing the client, giving much more flexibility * OTClient is no longer Application derived and is much simpler
This commit is contained in:
@@ -336,7 +336,7 @@ void UIManager::importStyleFromOTML(const OTMLNodePtr& styleNode)
|
||||
}
|
||||
|
||||
// Warn about redefined styles
|
||||
if(!g_app->isRunning() && !unique) {
|
||||
if(!g_app.isRunning() && !unique) {
|
||||
auto it = m_styles.find(name);
|
||||
if(it != m_styles.end())
|
||||
g_logger.warning(stdext::format("style '%s' is being redefined", name));
|
||||
|
||||
Reference in New Issue
Block a user