- fixed some more potential NULL pointer accesses.
SVN r3286 (trunk)
This commit is contained in:
parent
f2a457206c
commit
5747406776
2 changed files with 23 additions and 20 deletions
|
|
@ -647,10 +647,10 @@ AInventory *AInventory::CreateTossable ()
|
|||
{
|
||||
copy->MaxAmount = MaxAmount;
|
||||
copy->Amount = 1;
|
||||
copy->DropTime = 30;
|
||||
copy->flags &= ~(MF_SPECIAL|MF_SOLID);
|
||||
Amount--;
|
||||
}
|
||||
copy->DropTime = 30;
|
||||
copy->flags &= ~(MF_SPECIAL|MF_SOLID);
|
||||
return copy;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue