forked from jaildesigner-jailgames/jaildoctors_dilemma
linter
This commit is contained in:
@@ -443,7 +443,7 @@ auto Player::isOnFloor() -> bool {
|
||||
}
|
||||
|
||||
// Comprueba las rampas
|
||||
on_slope_l = room_->checkLeftSlopes(&under_feet_[0]);
|
||||
on_slope_l = room_->checkLeftSlopes(under_feet_.data());
|
||||
on_slope_r = room_->checkRightSlopes(&under_feet_[1]);
|
||||
|
||||
return on_floor || on_slope_l || on_slope_r;
|
||||
@@ -473,8 +473,8 @@ auto Player::isOnDownSlope() -> bool {
|
||||
// Hay que mirar otro pixel más por debajo
|
||||
SDL_FPoint foot0 = under_feet_[0];
|
||||
SDL_FPoint foot1 = under_feet_[1];
|
||||
foot0.y += 1.0f;
|
||||
foot1.y += 1.0f;
|
||||
foot0.y += 1.0F;
|
||||
foot1.y += 1.0F;
|
||||
|
||||
// Comprueba las rampas
|
||||
on_slope |= room_->checkLeftSlopes(&foot0);
|
||||
|
||||
Reference in New Issue
Block a user