Mario: fix floor detect and top movement helper
This commit is contained in:
@@ -45,7 +45,7 @@ public:
|
||||
return top_hit;
|
||||
}
|
||||
bool moveTop() {
|
||||
return top_left_right;
|
||||
return top_left_right && !top_hit;
|
||||
}
|
||||
const SDLPP::Vec2D<double> &getRightLeftPos() {
|
||||
return rightleftpos;
|
||||
|
||||
Reference in New Issue
Block a user