mirror of https://github.com/OpenRCT2/OpenRCT2.git
Wrong logging fixed
This commit is contained in:
parent
6ec01c6d65
commit
3b1708f1be
|
@ -993,7 +993,7 @@ int save_game()
|
|||
if (!gFirstTimeSave) {
|
||||
utf8 path[MAX_PATH];
|
||||
|
||||
log_error("Saving to %s", gScenarioSaveName);
|
||||
log_verbose("Saving to %s", gScenarioSaveName);
|
||||
|
||||
platform_get_user_directory(path, "save");
|
||||
|
||||
|
@ -1003,7 +1003,7 @@ int save_game()
|
|||
SDL_RWops* rw = platform_sdl_rwfromfile(path, "wb+");
|
||||
if (rw != NULL) {
|
||||
scenario_save(rw, 0x80000000);
|
||||
log_error("Saved to %s", gScenarioSaveName);
|
||||
log_verbose("Saved to %s", gScenarioSaveName);
|
||||
SDL_RWclose(rw);
|
||||
}
|
||||
|
||||
|
|
|
@ -907,9 +907,9 @@ int scenario_save(SDL_RWops* rw, int flags)
|
|||
int viewX, viewY, viewZoom, viewRotation;
|
||||
|
||||
if (flags & 2)
|
||||
log_error("saving scenario");
|
||||
log_verbose("saving scenario");
|
||||
else
|
||||
log_error("saving game");
|
||||
log_verbose("saving game");
|
||||
|
||||
|
||||
if (!(flags & 0x80000000))
|
||||
|
|
Loading…
Reference in New Issue