Skip to content

Commit

Permalink
Fix mistake in Init_Memory_Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
xezon authored and feliwir committed Sep 20, 2024
1 parent 6ff4930 commit 85ede0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game/common/system/gamememory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ void Init_Memory_Manager()
captainslog_dbgassert(g_thePreMainInitFlag, "memory manager is already inited");
}

#if defined GAME_DEBUG
// Check that new and delete both use our custom implementation.
g_theLinkChecker = 0;

Expand All @@ -111,6 +112,7 @@ void Init_Memory_Manager()
captainslog_fatal("Wrong operator new/delete linked in! Fix this...");
exit(-1);
}
#endif

g_theMainInitFlag = true;
}
Expand Down

0 comments on commit 85ede0c

Please sign in to comment.