Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 8, 2010, 12:49:25 PM (15 years ago)
Author:
dafrick
Message:

Small error in Pickup Spawner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/modules/pickup/PickupSpawner.cc

    r6486 r6492  
    293293            Pickupable* pickup = this->getPickup();
    294294           
    295             if(target != NULL || pickup != NULL)
    296             {
    297                 if(carrier->pickup(pickup))
     295            if(target != NULL && pickup != NULL)
     296            {
     297                if(target->pickup(pickup))
    298298                {
    299299                    this->decrementSpawnsRemaining();
Note: See TracChangeset for help on using the changeset viewer.