rodecomp/Source/Client/Mode/ActiveGameMode.cpp
ragnarok-clanker f575258340 Maintenance: Define every global once in its owner unit; session members replace member globals
Batch #906 by ragnarok-clanker: no function's compiled code changes; checked with 9 compiled unit(s), including every includer of Source/Client/Session.h, Source/Client/Registry.h, Source/Client/Application/LaunchInfo.h, Source/Client/Application/Launcher.h, Source/Client/Mode/ActiveGameMode.h, Source/Render/DeviceSelection.h.
Adds to the build: Source/Client/Session.cpp, Source/Client/Registry.cpp, Source/Client/Application/LaunchInfo.cpp, Source/Render/DeviceSelection.cpp
2026-10-26 18:34:25 +00:00

10 lines
222 B
C++

#include "Client/Mode/ActiveGameMode.h"
// STATIC: 0x013495b8
// GLOBAL: gl_24475
CWorld g_world = {1};
// FUNCTION: fn_17831
CGameMode* CWorld::ActiveGameMode() {
return this->state == 1 ? this->gameMode : nullptr;
}