- Added Karate Chris's 'Take' console command submission.
SVN r624 (trunk)
This commit is contained in:
parent
eb2e40cde0
commit
ac04233590
6 changed files with 258 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue