mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- fixed CTD when trying to add 13th town
- preparations to increase number of town sectors git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@623 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -378,7 +378,7 @@ UINT32 guiMapBorderHeliSectors;
|
||||
BOOLEAN sBadSectorsList[ WORLD_MAP_X ][ WORLD_MAP_X ];
|
||||
|
||||
|
||||
INT16 sBaseSectorList[12];/*={
|
||||
INT16 sBaseSectorList[ MAX_TOWNS - 1 ];/*={
|
||||
// NOTE: These co-ordinates must match the top left corner of the 3x3 town tiles cutouts in Interface/MilitiaMaps.sti!
|
||||
SECTOR( 9, 1 ), // Omerta
|
||||
SECTOR( 13, 2 ), // Drassen
|
||||
@@ -396,7 +396,7 @@ INT16 sBaseSectorList[12];/*={
|
||||
|
||||
// position of town names on the map
|
||||
// these are no longer PIXELS, but 10 * the X,Y position in SECTORS (fractions possible) to the X-CENTER of the town
|
||||
POINT pTownPoints[13];/*={
|
||||
POINT pTownPoints[ MAX_TOWNS ];/*={
|
||||
{ 0 , 0 },
|
||||
{ 90, 10}, // Omerta
|
||||
{125, 40}, // Drassen
|
||||
|
||||
Reference in New Issue
Block a user