core/sourcemod.cpp
branchsourcemod-1.1.0
changeset 1715 f9ecab642e25
parent 1655 b401b28e186a
child 1721 d54c379f7171
     1.1 --- a/core/sourcemod.cpp	Sun Nov 11 20:59:20 2007 +0000
     1.2 +++ b/core/sourcemod.cpp	Fri Nov 23 05:10:33 2007 +0000
     1.3 @@ -586,9 +586,11 @@
     1.4  	return g_BaseDir.c_str();
     1.5  }
     1.6  
     1.7 -void SourceModBase::SetGlobalTarget(unsigned int index)
     1.8 +unsigned int SourceModBase::SetGlobalTarget(unsigned int index)
     1.9  {
    1.10 +	unsigned int old = m_target;
    1.11  	m_target = index;
    1.12 +	return old;
    1.13  }
    1.14  
    1.15  unsigned int SourceModBase::GetGlobalTarget() const