paletes
This commit is contained in:
@@ -219,7 +219,7 @@ void MapEditor::enter(std::shared_ptr<Room> room, std::shared_ptr<Player> player
|
||||
room_->resetEnemyPositions(room_data_.enemies);
|
||||
|
||||
// Crear la barra de estado
|
||||
statusbar_ = std::make_unique<EditorStatusBar>(room_->getNumber(), room_->getName());
|
||||
statusbar_ = std::make_unique<EditorStatusBar>(room_->getNumber());
|
||||
|
||||
// Resetear estado
|
||||
drag_ = {};
|
||||
@@ -1320,7 +1320,6 @@ auto MapEditor::createNewRoom(const std::string& direction) -> std::string { //
|
||||
// Crear Room::Data por defecto con conexión recíproca
|
||||
Room::Data new_room;
|
||||
new_room.number = std::string(name_buf).substr(0, std::string(name_buf).find('.'));
|
||||
new_room.name = "NO_NAME";
|
||||
new_room.bg_color = "black";
|
||||
new_room.border_color = "magenta";
|
||||
new_room.tile_set_file = "standard.gif";
|
||||
|
||||
Reference in New Issue
Block a user