Fixed build
authorMatt Woodrow <pred@alliedmods.net>
Sun Jul 13 06:13:28 2008 +0000 (2008-07-13)
changeset 22052e628fb36eef
parent 2204 f86b27b352ea
child 2206 6b946d8524d8
Fixed build
core/NextMap.cpp
core/NextMap.h
     1.1 --- a/core/NextMap.cpp	Sun Jul 13 05:36:52 2008 +0000
     1.2 +++ b/core/NextMap.cpp	Sun Jul 13 06:13:28 2008 +0000
     1.3 @@ -222,4 +222,4 @@
     1.4  		UTIL_Format(g_NextMap.m_tempChangeInfo.m_mapName, sizeof(g_NextMap.m_tempChangeInfo.m_mapName), command.Arg(1));
     1.5  		UTIL_Format(g_NextMap.m_tempChangeInfo.m_changeReason, sizeof(g_NextMap.m_tempChangeInfo.m_changeReason), "changelevel Command");
     1.6  	}
     1.7 -}
     1.8 \ No newline at end of file
     1.9 +}
     2.1 --- a/core/NextMap.h	Sun Jul 13 05:36:52 2008 +0000
     2.2 +++ b/core/NextMap.h	Sun Jul 13 06:13:28 2008 +0000
     2.3 @@ -58,6 +58,12 @@
     2.4  	time_t startTime;
     2.5  };
     2.6  
     2.7 +#if defined ORANGEBOX_BUILD
     2.8 +void CmdChangeLevelCallback(const CCommand &command);
     2.9 +#else
    2.10 +void CmdChangeLevelCallback();
    2.11 +#endif
    2.12 +
    2.13  class NextMapManager : public SMGlobalClass
    2.14  {
    2.15  public: