mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Provide MAX_TACTICAL_ENEMIES to lua
This commit is contained in:
@@ -64,6 +64,7 @@ BOOLEAN LuaUnderground::InitializeSectorList()
|
|||||||
.TableOpen()
|
.TableOpen()
|
||||||
.TParam("difficultyLevel", int(gGameOptions.ubDifficultyLevel))
|
.TParam("difficultyLevel", int(gGameOptions.ubDifficultyLevel))
|
||||||
.TParam("gameStyle", int(gGameOptions.ubGameStyle))
|
.TParam("gameStyle", int(gGameOptions.ubGameStyle))
|
||||||
|
.TParam("maxTacticalEnemies", int(gGameExternalOptions.ubGameMaximumNumberOfEnemies))
|
||||||
.TableClose();
|
.TableClose();
|
||||||
|
|
||||||
SGP_THROW_IFFALSE(initsectorlist_func.Call(1), "call to lua function BuildUndergroundSectorList failed");
|
SGP_THROW_IFFALSE(initsectorlist_func.Call(1), "call to lua function BuildUndergroundSectorList failed");
|
||||||
|
|||||||
Reference in New Issue
Block a user