Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
fix(gameengine): clear -jumpToFrame when a match is left
Olcay Seygan6d70e1d2f6ae
diff --git a/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp b/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cppindex d565228fc..caf9060e3 100644--- a/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp+++ b/GeneralsMD/Code/GameEngine/Source/GameLogic/System/GameLogicDispatch.cpp@@ -397,6 +397,11 @@ void GameLogic::clearGameData( Bool showScoreScreen )FixupScoreScreenMovieWindow();}+ // -jumpToFrame names a frame of the match it was given for. The shell's blank game behind the+ // score screen counts from frame 0 again and would race undrawn up to it, minutes of nothing.+ if( !isInShellGame() )+ TheWritableGlobalData->m_noDraw = 0;+TheGameEngine->reset();setGameMode(GAME_NONE);// m_background->bringForward();