Skip to content

Commit 0165c40

Browse files
committed
xrServerEntities\xrServer_Object_Base.cpp: added XXX
1 parent e6f98b0 commit 0165c40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xrServerEntities/xrServer_Object_Base.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ CInifile& CSE_Abstract::spawn_ini()
160160
if (!m_ini_file)
161161
#pragma warning(push)
162162
#pragma warning(disable : 4238)
163+
// XXX: what a casting mess.. Do we need to use shared_str for m_ini_string?
163164
m_ini_file =
164-
new CInifile(&IReader((void*)(*(m_ini_string)), m_ini_string.size()), FS.get_path("$game_config$")->m_Path);
165+
new CInifile(&IReader((void*)(*(m_ini_string)), m_ini_string.size()), FS.get_path(_game_config_)->m_Path);
165166
#pragma warning(pop)
166167
return (*m_ini_file);
167168
}

0 commit comments

Comments
 (0)