summaryrefslogtreecommitdiff
path: root/src/engine/objects/ChainChomp.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2025-11-23 13:18:51 -0700
committerGitHub <noreply@github.com>2025-11-23 13:18:51 -0700
commit96f02bd70f4f24ab3fa28d479ee0c7ff84928e33 (patch)
tree34d795856b2e2309271024fb770be9831ebd6fbd /src/engine/objects/ChainChomp.cpp
parent52554e21cc0b515c95cf8108ff6255703f5465e3 (diff)
Only Spawn Three ChainChomps for Rainbow Track (#569)
* Update RainbowRoad.cpp * Update ChainChomp.cpp * Decrement actor counters in destructor * Update Finishline.cpp
Diffstat (limited to 'src/engine/objects/ChainChomp.cpp')
-rw-r--r--src/engine/objects/ChainChomp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/objects/ChainChomp.cpp b/src/engine/objects/ChainChomp.cpp
index fd3faa622..9f750831b 100644
--- a/src/engine/objects/ChainChomp.cpp
+++ b/src/engine/objects/ChainChomp.cpp
@@ -20,8 +20,8 @@ OChainChomp::OChainChomp() {
Name = "Chain Chomp";
ResourceName = "mk:chain_chomp";
_idx = _count;
- init_object(indexObjectList2[_count], 0);
- _objectIndex = indexObjectList2[_count];
+ init_object(indexObjectList2[_idx], 0);
+ _objectIndex = indexObjectList2[_idx];
_count++;
}