aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/mods
diff options
context:
space:
mode:
authorBobTheBob <for.oliver.kirkham@gmail.com>2023-03-07 14:56:12 +0000
committerBobTheBob <for.oliver.kirkham@gmail.com>2023-03-07 14:56:12 +0000
commitc6fdbc83b74a57bac91372f028f2dd9b8b74ffd6 (patch)
tree8942f0e855495509c4aecb97f2fdb016277fdab1 /NorthstarDLL/mods
parent2a20e0088ee4c05edd0b52d213272504e7d4c94e (diff)
downloadNorthstarLauncher-c6fdbc83b74a57bac91372f028f2dd9b8b74ffd6.tar.gz
NorthstarLauncher-c6fdbc83b74a57bac91372f028f2dd9b8b74ffd6.zip
reload turret settings
Diffstat (limited to 'NorthstarDLL/mods')
-rw-r--r--NorthstarDLL/mods/modmanager.cpp3
-rw-r--r--NorthstarDLL/mods/modmanager.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/NorthstarDLL/mods/modmanager.cpp b/NorthstarDLL/mods/modmanager.cpp
index 6d36a975..0af73e04 100644
--- a/NorthstarDLL/mods/modmanager.cpp
+++ b/NorthstarDLL/mods/modmanager.cpp
@@ -1040,6 +1040,8 @@ void ModManager::ReloadNecessaryModAssets(bool bDeferred, const ModAssetsToReloa
DeferredReloadWeaponSprings();
DeferredReloadWeapons(pAssetsToReload->setsWeaponSettings);
+
+ // player/ai/turret settings and aibehaviors automatically reload themselves on level change already, don't need to reload here
}
else
{
@@ -1057,6 +1059,7 @@ void ModManager::ReloadNecessaryModAssets(bool bDeferred, const ModAssetsToReloa
TryImmediateReloadWeapons(pAssetsToReload->setsWeaponSettings);
+ // TODO player/ai/turret settings and aibehavior
// need to reimplement mat_reloadmaterials for this
// if (m_AssetTypesToReload.bMaterials)
diff --git a/NorthstarDLL/mods/modmanager.h b/NorthstarDLL/mods/modmanager.h
index 9eccffc5..3002a099 100644
--- a/NorthstarDLL/mods/modmanager.h
+++ b/NorthstarDLL/mods/modmanager.h
@@ -153,6 +153,7 @@ class ModManager
bool bMaterials = false; // vmts
bool bPlayerSettings = false;
bool bAiSettings = false;
+ bool bTurretSettings = false;
bool bDamageDefs = false; // damagedefs
bool bWeaponSprings = false;
bool bAmmoSuckBehaviours = false;