mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- Fixed X-Y coordinate mixed up for CheckConditionsForTriggeringCreatureQuest (by Buggler)
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1762 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -47,11 +47,11 @@
|
||||
** Examples **
|
||||
**************
|
||||
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
-- instructions
|
||||
end
|
||||
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
-- instructions
|
||||
else
|
||||
-- instructions
|
||||
@@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
||||
-- Count the number of "infectible mines" the player occupies
|
||||
|
||||
-- SEC_D13
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
@@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
||||
end
|
||||
|
||||
-- SEC_I14
|
||||
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
-- SEC_H3
|
||||
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
|
||||
@@ -47,11 +47,11 @@
|
||||
** Examples **
|
||||
**************
|
||||
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
-- instructions
|
||||
end
|
||||
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
-- instructions
|
||||
else
|
||||
-- instructions
|
||||
@@ -183,7 +183,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
||||
-- Count the number of "infectible mines" the player occupies
|
||||
|
||||
-- SEC_D13
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
@@ -193,12 +193,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
||||
end
|
||||
|
||||
-- SEC_I14
|
||||
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
-- SEC_H3
|
||||
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
|
||||
@@ -47,11 +47,11 @@
|
||||
** Examples **
|
||||
**************
|
||||
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
-- instructions
|
||||
end
|
||||
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
-- instructions
|
||||
else
|
||||
-- instructions
|
||||
@@ -182,7 +182,7 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
||||
-- Count the number of "infectible mines" the player occupies
|
||||
|
||||
-- SEC_D13
|
||||
if SectorEnemyControlled ( SECTOR(4,13) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(13,4) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
@@ -192,12 +192,12 @@ function CheckConditionsForTriggeringCreatureQuest( sSectorX, sSectorY, bSectorZ
|
||||
end
|
||||
|
||||
-- SEC_I14
|
||||
if SectorEnemyControlled ( SECTOR(9,14) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(14,9) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
-- SEC_H3
|
||||
if SectorEnemyControlled ( SECTOR(8,3) ) == false then
|
||||
if SectorEnemyControlled ( SECTOR(3,8) ) == false then
|
||||
ubValidMines = ubValidMines + 1
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user