4 merdes fetes en la feina pr avorriment
This commit is contained in:
@@ -307,7 +307,7 @@ auto Game::changeRoom(const std::string& room_path) -> bool {
|
||||
|
||||
// Comprueba si el jugador esta en el borde de la pantalla
|
||||
void Game::checkPlayerIsOnBorder() {
|
||||
if (player_->getOnBorder()) {
|
||||
if (player_->isOnBorder()) {
|
||||
const std::string ROOM_NAME = room_->getRoom(player_->getBorder());
|
||||
if (changeRoom(ROOM_NAME)) {
|
||||
player_->switchBorders();
|
||||
|
||||
Reference in New Issue
Block a user