diff --git a/Generals/Code/GameEngine/Source/GameClient/GameClient.cpp b/Generals/Code/GameEngine/Source/GameClient/GameClient.cpp index d5d380c7e4a..676e82014d4 100644 --- a/Generals/Code/GameEngine/Source/GameClient/GameClient.cpp +++ b/Generals/Code/GameEngine/Source/GameClient/GameClient.cpp @@ -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 /** ----------------------------------------------------------------------------------------------- diff --git a/GeneralsMD/Code/GameEngine/Source/GameClient/GameClient.cpp b/GeneralsMD/Code/GameEngine/Source/GameClient/GameClient.cpp index 17004623c97..5c3aa0bd412 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameClient/GameClient.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameClient/GameClient.cpp @@ -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 /** -----------------------------------------------------------------------------------------------