SVN r258 (trunk)
This commit is contained in:
parent
1391b28643
commit
ecce60e8f9
90 changed files with 326 additions and 309 deletions
|
|
@ -2595,7 +2595,7 @@ void A_SpawnDehackedPickup (AActor *actor)
|
|||
{
|
||||
if ((size_t)actor->health < DehackedPickups.Size())
|
||||
{
|
||||
AActor *real = Spawn (DehackedPickups[actor->health], actor->x, actor->y, actor->z);
|
||||
AActor *real = Spawn (DehackedPickups[actor->health], actor->x, actor->y, actor->z, NO_REPLACE);
|
||||
if (real != NULL)
|
||||
{
|
||||
// Copy properties from the original item to the dehacked pickup it spawns
|
||||
|
|
@ -2621,7 +2621,7 @@ bool ADehackedPickup::TryPickup (AActor *toucher)
|
|||
{
|
||||
return false;
|
||||
}
|
||||
RealPickup = static_cast<AInventory *>(Spawn (type, x, y, z));
|
||||
RealPickup = static_cast<AInventory *>(Spawn (type, x, y, z, NO_REPLACE));
|
||||
if (RealPickup != NULL)
|
||||
{
|
||||
if (!(flags & MF_DROPPED))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue