mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: Compilation
This commit is contained in:
parent
ef7337b511
commit
23e55fe475
1 changed files with 4 additions and 4 deletions
|
@ -90,15 +90,15 @@ using namespace NLNET;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Automatic SaveShardRoot path standardization
|
// Automatic SaveShardRootGameShare path standardization
|
||||||
void cbOnSaveShardRootModified( NLMISC::IVariable& var )
|
void cbOnSaveShardRootModified( NLMISC::IVariable& var )
|
||||||
{
|
{
|
||||||
var.fromString( CPath::standardizePath( var.toString() ) );
|
var.fromString( CPath::standardizePath( var.toString() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// (SaveShardRoot from game_share/backup_service_interface.cpp is not instanciated because nothing is used from that file)
|
// (SaveShardRootGameShare from game_share/backup_service_interface.cpp is not instanciated because nothing is used from that file)
|
||||||
extern NLMISC::CVariable<std::string> SaveShardRoot;
|
extern NLMISC::CVariable<std::string> SaveShardRootGameShare;
|
||||||
CVariable<string> PdrFilename("ai", "PdrFilename", "Pdr file containing AIScript variables", string("ai_persistent_var.pdr"), 0, true);
|
CVariable<string> PdrFilename("ai", "PdrFilename", "Pdr file containing AIScript variables", string("ai_persistent_var.pdr"), 0, true);
|
||||||
|
|
||||||
|
|
||||||
|
@ -174,7 +174,7 @@ CAIScriptDataManager::~CAIScriptDataManager()
|
||||||
|
|
||||||
std::string CAIScriptDataManager::dirname()
|
std::string CAIScriptDataManager::dirname()
|
||||||
{
|
{
|
||||||
return SaveShardRoot.get()+"/"+IService::getInstance()->SaveFilesDirectory.toString()+"/ai_script_data";
|
return SaveShardRootGameShare.get()+"/"+IService::getInstance()->SaveFilesDirectory.toString()+"/ai_script_data";
|
||||||
}
|
}
|
||||||
|
|
||||||
//CConfigFile* CAIScriptDataManager::createFile(string name)
|
//CConfigFile* CAIScriptDataManager::createFile(string name)
|
||||||
|
|
Loading…
Reference in a new issue