Skip to content

Commit

Permalink
better comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ASpoonPlaysGames committed Sep 3, 2023
1 parent a35a71e commit a59ba0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NorthstarDLL/client/debugoverlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ void, __fastcall, (bool bRender))
if (OverlayBase_t__IsDead(currentOverlay))
{
// compiler optimisation moment? is EnterCriticalSection not working?
// basically this would seemingly crash if I didn't do this?
volatile OverlayBase_t* nextOverlay = currentOverlay->m_pNextOverlay;

if (previousOverlay != nullptr)
Expand Down

0 comments on commit a59ba0d

Please sign in to comment.