- Fixed: AActor::CopyFriendliness must not copy the target if it has the
MF3_NOTARGET flag set. - Fixed: Picking up weapons in deathmatch gives 2.5 times as much ammo as in other modes. SVN r547 (trunk)
This commit is contained in:
parent
f62032ac6a
commit
09f5bbc2d3
3 changed files with 13 additions and 1 deletions
|
|
@ -248,6 +248,12 @@ AAmmo *AWeapon::AddAmmo (AActor *other, const PClass *ammotype, int amount)
|
|||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// [BC] This behavior is from the original Doom. Give 5/2 times as much ammo when
|
||||
// we pick up a weapon in deathmatch.
|
||||
if (( deathmatch ) && ( gameinfo.gametype == GAME_Doom ))
|
||||
amount = amount * 5 / 2;
|
||||
|
||||
// extra ammo in baby mode and nightmare mode
|
||||
if (!(this->ItemFlags&IF_IGNORESKILL))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue