diff --git a/core/NextMap.cpp b/core/NextMap.cpp index b2fffe48..0ce236c8 100644 --- a/core/NextMap.cpp +++ b/core/NextMap.cpp @@ -222,4 +222,4 @@ void CmdChangeLevelCallback() UTIL_Format(g_NextMap.m_tempChangeInfo.m_mapName, sizeof(g_NextMap.m_tempChangeInfo.m_mapName), command.Arg(1)); UTIL_Format(g_NextMap.m_tempChangeInfo.m_changeReason, sizeof(g_NextMap.m_tempChangeInfo.m_changeReason), "changelevel Command"); } -} \ No newline at end of file +} diff --git a/core/NextMap.h b/core/NextMap.h index 8f6377ce..c1dd9c5a 100644 --- a/core/NextMap.h +++ b/core/NextMap.h @@ -58,6 +58,12 @@ struct MapChangeData time_t startTime; }; +#if defined ORANGEBOX_BUILD +void CmdChangeLevelCallback(const CCommand &command); +#else +void CmdChangeLevelCallback(); +#endif + class NextMapManager : public SMGlobalClass { public: