- Added Karate Chris's 'Take' console command submission.

SVN r624 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-23 14:23:52 +00:00
commit ac04233590
6 changed files with 258 additions and 0 deletions

View file

@ -1998,6 +1998,11 @@ void Net_DoCommand (int type, BYTE **stream, int player)
cht_Give (&players[player], s, ReadWord (stream));
break;
case DEM_TAKECHEAT:
s = ReadString (stream);
cht_Take (&players[player], s, ReadWord (stream));
break;
case DEM_WARPCHEAT:
{
int x, y;
@ -2325,6 +2330,7 @@ void Net_SkipCommand (int type, BYTE **stream)
break;
case DEM_GIVECHEAT:
case DEM_TAKECHEAT:
skip = strlen ((char *)(*stream)) + 3;
break;