mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Fix:
- when USE_XML_SQUADNAMES was TRUE, the squad box was shifted upwards over the column headers, causing clipping issues - when READ_PROFILE_DATA_FROM_XML was TRUE, the game would still read profile data from prof.dat, if the old inventory system was used git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8868 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -687,11 +687,12 @@ BOOLEAN LoadMercProfiles(void)
|
||||
gMercProfiles[uiLoop].sPreCombatGridNo = gMercProfiles[uiLoop]._old_sGridNo;
|
||||
//</SB>
|
||||
|
||||
/* CHRISL: For now, we should only overwrite prof.dat in the new inventory system. Old system should still use
|
||||
/* silversurfer: READ_PROFILE_DATA_FROM_XML from JA2.Options.ini should always take precedence.
|
||||
CHRISL: For now, we should only overwrite prof.dat in the new inventory system. Old system should still use
|
||||
prof.dat until we're sure we want to replace it with the xml file.
|
||||
Because the new WF mercs don't have entries in the prof*.dat files, we need to always load their equipment from
|
||||
MercStaringGear.xml, regardless of the inventory system we're going to use.*/
|
||||
if(UsingNewInventorySystem() == true || uiLoop >= 170 )
|
||||
if( gGameExternalOptions.fReadProfileDataFromXML || UsingNewInventorySystem() == true || uiLoop >= 170 )
|
||||
{
|
||||
// Start by resetting all profile inventory values to 0
|
||||
gMercProfiles[uiLoop].clearInventory();
|
||||
|
||||
Reference in New Issue
Block a user