Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 14, 2010, 10:27:41 AM (14 years ago)
Author:
dafrick
Message:

Small fix in HealthPickup.

File:
1 edited

Legend:

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

    r6499 r6520  
    150150            {
    151151                case pickupHealthType::permanent:
    152                     if(pawn->getMaxHealth() > fullHealth)
     152                    if(pawn->getMaxHealth() < fullHealth)
    153153                        pawn->setMaxHealth(fullHealth);
    154154                case pickupHealthType::limited:
Note: See TracChangeset for help on using the changeset viewer.