X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=radiant%2Fplugin.cpp;h=2c3d6dd0cc5e05570c302caa3231f32e76589683;hp=8adf4d12ea20b46cbcb9a559b087f0655918e633;hb=aa8c5aec5c7f578b977abb4322e2322df8edd662;hpb=bbe9ab19c2012a84d1e0080e2e1bb8f8a402f13c diff --git a/radiant/plugin.cpp b/radiant/plugin.cpp index 8adf4d12..2c3d6dd0 100644 --- a/radiant/plugin.cpp +++ b/radiant/plugin.cpp @@ -128,6 +128,7 @@ RadiantCoreAPI(){ m_radiantcore.getEnginePath = &EnginePath_get; m_radiantcore.getLocalRcPath = &LocalRcPath_get; m_radiantcore.getAppPath = &AppPath_get; + m_radiantcore.getDataPath = &DataPath_get; m_radiantcore.getGameToolsPath = &GameToolsPath_get; m_radiantcore.getSettingsPath = &SettingsPath_get; m_radiantcore.getMapsPath = &getMapsPath; @@ -250,12 +251,10 @@ Radiant(){ MapRoot_construct(); EnginePath_verify(); - BindMapFileObservers(); EnginePath_Realise(); } ~Radiant(){ EnginePath_Unrealise(); - UnBindMapFileObservers(); MapRoot_destroy(); NullModel_destroy();