Added auto-restart functionality to the Updater extensions (bug 3530, r=pred).

This commit is contained in:
David Anderson
2009-02-28 23:14:16 -05:00
parent 09b24e45f9
commit c4cba5254c
9 changed files with 72 additions and 6 deletions
+10
View File
@@ -632,3 +632,13 @@ void CHalfLife2::SetHandleEntity(CBaseHandle &hndl, edict_t *pEnt)
hndl.Set(pEntOther);
}
const char *CHalfLife2::GetCurrentMap()
{
return STRING(gpGlobals->mapname);
}
void CHalfLife2::ServerCommand(const char *buffer)
{
engine->ServerCommand(buffer);
}