Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 10, 2011, 11:46:07 PM (13 years ago)
Author:
landauf
Message:

fixed crash in Pong gametype if the game was ended right after the ball was set back to center after a score

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/pong/Pong.h

    r5929 r7852  
    5959            void startBall();
    6060
    61             PongCenterpoint* center_;
    62             PongBall* ball_;
    63             PongBat* bat_[2];
     61            WeakPtr<PongCenterpoint> center_;
     62            WeakPtr<PongBall> ball_;
     63            WeakPtr<PongBat> bat_[2];
    6464            Timer starttimer_;
    6565    };
Note: See TracChangeset for help on using the changeset viewer.