diff -r 170ffea426a0 -r f9ecab642e25 core/sourcemod.cpp --- a/core/sourcemod.cpp Sun Nov 11 20:59:20 2007 +0000 +++ b/core/sourcemod.cpp Fri Nov 23 05:10:33 2007 +0000 @@ -586,9 +586,11 @@ return g_BaseDir.c_str(); } -void SourceModBase::SetGlobalTarget(unsigned int index) +unsigned int SourceModBase::SetGlobalTarget(unsigned int index) { + unsigned int old = m_target; m_target = index; + return old; } unsigned int SourceModBase::GetGlobalTarget() const