- Fixed: Crash when opening the player setup menu when you're so dead that

your head has popped off your body.
- Fixed: When item respawning is on and you play on skill 1 or 5, picking
  up ammo would permanently double the amount of ammo received from that
  item the next time it gets picked up.
- Added a check to PlayerIsGone() for players who have already had their
  actors destroyed before calling it.
- Fixed: G_CheckDemoStatus() only restored your name, autoaim, and color
  settings after playing back a demo.
- Added DEM_SPRAY net command so that sprayed decals work in multiplayer
  and demos.
- Changed DEM_GIVECHEAT to use a word for specifying the item quantity.
  This is useful mainly for giving yourself more than 255 health at a time.
- Fixed: DEM_SUMMONFRIEND was not handled by Net_SkipCommand().


SVN r58 (trunk)
This commit is contained in:
Randy Heit 2006-04-21 05:44:21 +00:00
commit 8ea6569de8
12 changed files with 118 additions and 79 deletions

View file

@ -109,7 +109,7 @@ enum EDemoCommand
DEM_UINFCHANGED, // 8 User info changed
DEM_SINFCHANGED, // 9 Server/Host info changed
DEM_GENERICCHEAT, // 10 Next byte is cheat to apply (see next enum)
DEM_GIVECHEAT, // 11 String: item to give, Byte: quantity
DEM_GIVECHEAT, // 11 String: item to give, Word: quantity
DEM_SAY, // 12 Byte: who to talk to, String: message to display
DEM_DROPPLAYER, // 13 Not implemented, takes a byte
DEM_CHANGEMAP, // 14 Name of map to change to
@ -136,6 +136,7 @@ enum EDemoCommand
DEM_WARPCHEAT, // 35 4 bytes: 2 for x, 2 for y
DEM_CENTERVIEW, // 36
DEM_SUMMONFRIEND, // 37 String: Thing to fabricate
DEM_SPRAY, // 38 String: The decal to spray
};
// The following are implemented by cht_DoCheat in m_cheat.cpp