We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3c412 commit b14376eCopy full SHA for b14376e
src/hooks/CCObject.cpp
@@ -24,7 +24,7 @@ uint32_t allocateObjectData(ObjectData* data) {
24
}
25
26
void releaseObjectData(uint32_t id) {
27
- if (id != 0 && id < s_objectArena.size() && s_objectArena[id]) {
+ if (id < s_objectArena.size() && s_objectArena[id]) {
28
s_objectArena[id] = nullptr;
29
s_freeArenaSlots.push(id);
30
0 commit comments