Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Generals/Code/GameEngine/Source/GameClient/GameClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,9 @@ void GameClient::reset( void )
// clear any drawable TOC we might have
m_drawableTOC.clear();

// TheSuperHackers @fix Mauller 13/04/2025 Reset the drawable id so it does not keep growing over the lifetime of the game.
m_nextDrawableID = (DrawableID)1;

} // end reset

/** -----------------------------------------------------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions GeneralsMD/Code/GameEngine/Source/GameClient/GameClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,9 @@ void GameClient::reset( void )
// clear any drawable TOC we might have
m_drawableTOC.clear();

// TheSuperHackers @fix Mauller 13/04/2025 Reset the drawable id so it does not keep growing over the lifetime of the game.
m_nextDrawableID = (DrawableID)1;

} // end reset

/** -----------------------------------------------------------------------------------------------
Expand Down