Better handle missing .ini entries for IMP slots

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@825 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
SpaceViking
2007-04-02 00:50:19 +00:00
parent 1ef4419b0d
commit 1baf9b0bd1
2 changed files with 11 additions and 5 deletions
+4 -1
View File
@@ -153,7 +153,7 @@ typedef struct
//
// iaIMPSlots is an array of the slots (in prof.dat) to use for IMPs.
//
UINT32 *iaIMPSlots;
INT32 *iaIMPSlots;
INT32 iMinAttribute;
INT32 iMaxAttribute;
@@ -223,6 +223,9 @@ typedef struct
//Sound settings
UINT32 guiWeaponSoundEffectsVolume;
// WDS - Option to turn off stealing
BOOLEAN fStealingDisabled;
// Militia Settings
BOOLEAN fAllowTacticalMilitiaCommand;
BOOLEAN gfTrainVeteranMilitia;