mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
fix jeep/tank check for l_AdjustEnemyStrengthInSector (Mini Events)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9325 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -275,8 +275,8 @@ namespace MiniEventHelpers
|
||||
const INT8 troopAdjustment = static_cast<INT8>(lua_tointeger(LS, 4));
|
||||
const INT8 eliteAdjustment = static_cast<INT8>(lua_tointeger(LS, 5));
|
||||
const INT8 robotAdjustment = gGameExternalOptions.fASDActive && gGameExternalOptions.fASDAssignsRobots ? static_cast<INT8>(lua_tointeger(LS, 6)) : 0;
|
||||
const INT8 jeepAdjustment = gGameExternalOptions.fASDActive && gGameExternalOptions.fASDAssignsRobots ? static_cast<INT8>(lua_tointeger(LS, 7)) : 0;
|
||||
const INT8 tankAdjustment = gGameExternalOptions.fASDActive && gGameExternalOptions.fASDAssignsRobots ? static_cast<INT8>(lua_tointeger(LS, 8)) : 0;
|
||||
const INT8 jeepAdjustment = gGameExternalOptions.fASDActive && gGameExternalOptions.fASDAssignsJeeps ? static_cast<INT8>(lua_tointeger(LS, 7)) : 0;
|
||||
const INT8 tankAdjustment = gGameExternalOptions.fASDActive && gGameExternalOptions.fASDAssignsTanks ? static_cast<INT8>(lua_tointeger(LS, 8)) : 0;
|
||||
|
||||
SECTORINFO *sector = &(SectorInfo[SECTOR(x,y)]);
|
||||
if (!sector)
|
||||
|
||||
Reference in New Issue
Block a user