mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-11 12:04:46 +00:00
Fixed: Compilation
This commit is contained in:
parent
de5ecef56f
commit
8441b263d1
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 )
|
||||
{
|
||||
var.fromString( CPath::standardizePath( var.toString() ) );
|
||||
}
|
||||
|
||||
|
||||
// (SaveShardRoot from game_share/backup_service_interface.cpp is not instanciated because nothing is used from that file)
|
||||
extern NLMISC::CVariable<std::string> SaveShardRoot;
|
||||
// (SaveShardRootGameShare from game_share/backup_service_interface.cpp is not instanciated because nothing is used from that file)
|
||||
extern NLMISC::CVariable<std::string> SaveShardRootGameShare;
|
||||
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()
|
||||
{
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue