Skip to content

Commit

Permalink
xrGame: fix ALife resource loading
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Nov 6, 2018
1 parent 7bb8e6f commit 2a21afc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xrServerEntities/xrServer_Object_Base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ CSE_Abstract::CSE_Abstract(LPCSTR caSection)
if (pSettings->line_exist(caSection, "custom_data"))
{
pcstr const raw_file_name = pSettings->r_string(caSection, "custom_data");
#ifdef LINUX
while (char* sep = strchr((char *)raw_file_name, '\\')) *sep = '/';
#endif
IReader const* config = nullptr;
#ifdef XRGAME_EXPORTS
if (ai().get_alife())
Expand Down

0 comments on commit 2a21afc

Please sign in to comment.