Mario Editor: initialize empty map with correct column size

This commit is contained in:
2021-06-04 14:39:23 +02:00
parent 0475f4967b
commit 301c4f3142
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ void loadMap( std::shared_ptr< SDLPP::Scene > &scene,
std::shared_ptr< SDLPP::RenderObject > &mario,
const std::string &file,
std::shared_ptr< SDLPP::Renderer > &renderer,
std::vector< mapColumnType > &objects, bool editor = true );
std::vector< mapColumnType > &objects, bool editor = false, size_t editor_width = 0 );
void saveMap( const std::string &file, std::vector< mapColumnType > &objects );
#endif