Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 18, 2018, 12:50:22 AM (6 years ago)
Author:
landauf
Message:

[FlappyOrx_HS17] bugfix: velocity was never initialized (expecially x, which wasn't necessary anyway)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Presentation_HS17_merge/src/modules/flappyorx/FlappyOrxShip.h

    r11758 r11761  
    8888            bool isFlapping;
    8989            bool isDead;
     90            float velocity;
    9091            float speed, upwardThrust, gravity;
    9192            float particleAge, particleLifespan;
    9293            time_t deathTime;
    93             struct Velocity
    94             {
    95                 float x;
    96                 float y;
    97             } velocity;
    9894
    9995    };
Note: See TracChangeset for help on using the changeset viewer.