core/NextMap.h
changeset 3899 fd4ec50a0d6c
parent 2583 d3b2571c378b
child 3942 7aaa00382627
     1.1 --- a/core/NextMap.h	Tue Apr 23 07:11:49 2013 -0400
     1.2 +++ b/core/NextMap.h	Tue Apr 23 07:11:49 2013 -0400
     1.3 @@ -58,7 +58,9 @@
     1.4  	time_t startTime;
     1.5  };
     1.6  
     1.7 -#if SOURCE_ENGINE >= SE_ORANGEBOX
     1.8 +#if SOURCE_ENGINE == SE_DOTA
     1.9 +void CmdChangeLevelCallback(void *pUnknown, const CCommand &command);
    1.10 +#elif SOURCE_ENGINE >= SE_ORANGEBOX
    1.11  void CmdChangeLevelCallback(const CCommand &command);
    1.12  #else
    1.13  void CmdChangeLevelCallback();
    1.14 @@ -69,7 +71,9 @@
    1.15  public:
    1.16  	NextMapManager();
    1.17  
    1.18 -#if SOURCE_ENGINE >= SE_ORANGEBOX
    1.19 +#if SOURCE_ENGINE == SE_DOTA
    1.20 +	friend void CmdChangeLevelCallback(void *pUnknown, const CCommand &command);
    1.21 +#elif SOURCE_ENGINE >= SE_ORANGEBOX
    1.22  	friend void CmdChangeLevelCallback(const CCommand &command);
    1.23  #else
    1.24  	friend void CmdChangeLevelCallback();