Skip to content

Commit

Permalink
xrServerEntities\xrServer_Object_Base.cpp: added XXX
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed May 20, 2018
1 parent e6f98b0 commit 0165c40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xrServerEntities/xrServer_Object_Base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,9 @@ CInifile& CSE_Abstract::spawn_ini()
if (!m_ini_file)
#pragma warning(push)
#pragma warning(disable : 4238)
// XXX: what a casting mess.. Do we need to use shared_str for m_ini_string?
m_ini_file =
new CInifile(&IReader((void*)(*(m_ini_string)), m_ini_string.size()), FS.get_path("$game_config$")->m_Path);
new CInifile(&IReader((void*)(*(m_ini_string)), m_ini_string.size()), FS.get_path(_game_config_)->m_Path);
#pragma warning(pop)
return (*m_ini_file);
}
Expand Down

0 comments on commit 0165c40

Please sign in to comment.