mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Moved INITIAL_MERC_ARRIVAL_LOCATION from Ja2_Options.ini to Mod_Settings.ini. If Mod_Settings.ini has a value defined it will overwrite the value from Ja2_Options.ini. Otherwise it will leave it alone.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8105 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2643,6 +2643,10 @@ void LoadModSettings(){
|
||||
gModSettings.iLostShipmentGridNo = iniReader.ReadInteger("Bobby Ray", "LOST_SHIPMENT_GRIDNO", 2);
|
||||
|
||||
//[Omerta]
|
||||
gModSettings.iInitialMercArrivalLocation = iniReader.ReadInteger("Omerta", "INITIAL_MERC_ARRIVAL_LOCATION", 0);
|
||||
// silversurfer: If the mod has a dropoff tile defined use the mod value instead of the default from Ja2_Options.ini
|
||||
if( gModSettings.iInitialMercArrivalLocation != 0 )
|
||||
gGameExternalOptions.iInitialMercArrivalLocation = gModSettings.iInitialMercArrivalLocation;
|
||||
|
||||
//[Drassen]
|
||||
gModSettings.ubCarmenGiveRewardSectorX = iniReader.ReadInteger("Drassen", "CARMEN_GIVE_REWARD_SECTOR_X", 13);
|
||||
|
||||
Reference in New Issue
Block a user