mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Merged from revision: 7267
Fixes (by Buggler) - Allows sector inventory item deletion feature to delete inaccessible and not-in-sector items. Hold 'Delete' hotkey and click the item - Hot key Ctrl+Tab can now switch to the second page of General tab in EDB for weapons - Fixed hardcoded mine icons and spawning pool sector in AI Viewer Editor - Hotkey for finding previous merc changed to 'Ctrl+Space' to avoid out-of-map boundary display - Added editor command line options in popup help text git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7268 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -331,37 +331,6 @@ void InitKnowFacilitiesFlags( )
|
||||
}
|
||||
|
||||
|
||||
void InitMiningLocations()
|
||||
{
|
||||
SECTORINFO *pSector;
|
||||
//Set up mining sites
|
||||
|
||||
pSector = &SectorInfo[SEC_D4];
|
||||
pSector->uiFlags |= SF_MINING_SITE;
|
||||
// pSector->ubIncomeValue = 33;
|
||||
|
||||
pSector = &SectorInfo[SEC_D13];
|
||||
pSector->uiFlags |= SF_MINING_SITE;
|
||||
// pSector->ubIncomeValue = 41;
|
||||
|
||||
pSector = &SectorInfo[SEC_B2];
|
||||
pSector->uiFlags |= SF_MINING_SITE;
|
||||
// pSector->ubIncomeValue = 20;
|
||||
|
||||
pSector = &SectorInfo[SEC_H8];
|
||||
pSector->uiFlags |= SF_MINING_SITE;
|
||||
// pSector->ubIncomeValue = 64;
|
||||
|
||||
pSector = &SectorInfo[SEC_I14];
|
||||
pSector->uiFlags |= SF_MINING_SITE;
|
||||
// pSector->ubIncomeValue = 80;
|
||||
|
||||
//Grumm
|
||||
pSector = &SectorInfo[SEC_H3];
|
||||
pSector->uiFlags |= SF_MINING_SITE;
|
||||
// pSector->ubIncomeValue = 100;
|
||||
}
|
||||
|
||||
//Mobile groups are handled separately from sectors, because they are on the move.
|
||||
void GeneratePatrolGroups()
|
||||
{
|
||||
@@ -635,7 +604,6 @@ void InitNewCampaign()
|
||||
RemoveAllGroups();
|
||||
|
||||
InitWorld(); // Lesh: generate different world each time using alternative maps
|
||||
InitMiningLocations();
|
||||
|
||||
// HEADROCK HAM 3.5: This is no longer required.
|
||||
//InitKnowFacilitiesFlags( );
|
||||
|
||||
Reference in New Issue
Block a user