Mario Editor: save to filename entered in editor
This commit is contained in:
+2
-1
@@ -94,7 +94,8 @@ int main() {
|
||||
SDL_framerateDelay(&gFPS);
|
||||
SDL_PumpEvents();
|
||||
std::lock_guard<std::mutex> lock(render_mutex);
|
||||
for (size_t i = 0; i < game_scenes.size(); i++) {
|
||||
auto max_game_scenes = game_scenes.size();
|
||||
for (size_t i = 0; i < max_game_scenes; i++) {
|
||||
game_scenes[i].additionalRender(game_scenes[i].scene);
|
||||
// additional renderer can remove scene from game_scenes, better
|
||||
// check
|
||||
|
||||
Reference in New Issue
Block a user