SVN r258 (trunk)
This commit is contained in:
parent
1391b28643
commit
ecce60e8f9
90 changed files with 326 additions and 309 deletions
|
|
@ -2210,10 +2210,7 @@ AInventory *P_DropItem (AActor *source, const PClass *type, int special, int cha
|
|||
spawnz += source->height / 2;
|
||||
}
|
||||
}
|
||||
// Handle decorate replacements.
|
||||
type = type->ActorInfo->GetReplacement()->Class;
|
||||
|
||||
mo = Spawn (type, source->x, source->y, spawnz);
|
||||
mo = Spawn (type, source->x, source->y, spawnz, ALLOW_REPLACE);
|
||||
mo->flags |= MF_DROPPED;
|
||||
mo->flags &= ~MF_NOGRAVITY; // [RH] Make sure it is affected by gravity
|
||||
if (mo->IsKindOf (RUNTIME_CLASS(AInventory)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue