Changeset 11762
- Timestamp:
- Feb 18, 2018, 1:02:47 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge/src/modules/flappyorx/FlappyOrx.cc
r11760 r11762 90 90 } 91 91 //Delete Asteroids which are not visible anymore 92 while( (this->asteroids.front())->getPosition().x<x-tubeOffsetX){92 while(this->asteroids.size()!=0&&(this->asteroids.front())->getPosition().x<x-tubeOffsetX){ 93 93 MovableEntity* deleteMe = asteroids.front(); 94 94 asteroids.pop();
Note: See TracChangeset
for help on using the changeset viewer.