SDLPP: add constant rotation
This commit is contained in:
+2
-1
@@ -149,6 +149,7 @@ bool MarioBlock::isTraveling() const {
|
||||
}
|
||||
|
||||
void MarioBlock::custom_move(int ticks) {
|
||||
SDLPP::RectangleRender::custom_move(ticks);
|
||||
if (!_bouncing && !_traveling) {
|
||||
return;
|
||||
}
|
||||
@@ -699,4 +700,4 @@ void MarioBlock::harden() {
|
||||
|
||||
const std::string &MarioBlock::getTeleportLevel() {
|
||||
return _teleport_level;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user