Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7886


Ignore:
Timestamp:
Feb 14, 2011, 3:31:53 PM (14 years ago)
Author:
landauf
Message:

simplification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/pong/PongBall.cc

    r7885 r7886  
    190190        if (!this->bat_)
    191191        {
    192             if (this->bDeleteBats_)
    193                 delete[] this->bat_;
    194             else
    195                 this->bDeleteBats_ = true;
    196 
    197192            this->bat_ = new WeakPtr<PongBat>[2];
     193            this->bDeleteBats_ = true;
    198194        }
    199195
Note: See TracChangeset for help on using the changeset viewer.