mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 23:47:44 +00:00
De-hardcode max entity count
This commit is contained in:
@@ -442,7 +442,7 @@ IMGUI_ENTITY_INSPECT(CScriptDistanceFog, CEntity, ScriptDistanceFog, {})
|
||||
IMGUI_ENTITY_INSPECT(CScriptDockAreaChange, CEntity, ScriptDockAreaChange, {})
|
||||
IMGUI_ENTITY_INSPECT(CScriptGenerator, CEntity, ScriptGenerator, {
|
||||
int count = x34_spawnCount;
|
||||
if (ImGui::SliderInt("Spawn Count", &count, 0, 1024)) {
|
||||
if (ImGui::SliderInt("Spawn Count", &count, 0, kMaxEntities)) {
|
||||
x34_spawnCount = count;
|
||||
}
|
||||
BITFIELD_CHECKBOX("Don't Reuse Followers", x38_24_noReuseFollowers);
|
||||
|
||||
Reference in New Issue
Block a user