Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 20, 2012, 4:46:52 PM (12 years ago)
Author:
jo
Message:

On the way of repairing a bug that was caused by manual refactoring of gametype's playerScored function.

Location:
code/branches/presentation2012merge/src/modules
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012merge/src/modules/pong/Pong.cc

    r9258 r9340  
    256256        Is called when the player scored.
    257257    */
    258     void Pong::playerScored(PlayerInfo* player)
    259     {
    260         Deathmatch::playerScored(player);
     258    void Pong::playerScored(PlayerInfo* player, int score)
     259    {
     260        Deathmatch::playerScored(player, score);
    261261
    262262        if (this->center_ != NULL) // If there is a centerpoint.
  • code/branches/presentation2012merge/src/modules/pong/Pong.h

    r9258 r9340  
    7373            virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player.
    7474
    75             virtual void playerScored(PlayerInfo* player); //!< Is called when the player scored.
     75            virtual void playerScored(PlayerInfo* player, int score = 1); //!< Is called when the player scored.
    7676
    7777            /**
  • code/branches/presentation2012merge/src/modules/tetris/Tetris.cc

    r9330 r9340  
    2626 *
    2727 *
    28  *BUG c) destroying the old stones causes segfault -> WeakPointer as solution ?
    29  *BUG d) wrong collision detection: sometimes stones "bounce off"
    3028 *
    3129 *
Note: See TracChangeset for help on using the changeset viewer.