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) {
|
if (!gFirstTimeSave) {
|
||||||
utf8 path[MAX_PATH];
|
utf8 path[MAX_PATH];
|
||||||
|
|
||||||
log_error("Saving to %s", gScenarioSaveName);
|
log_verbose("Saving to %s", gScenarioSaveName);
|
||||||
|
|
||||||
platform_get_user_directory(path, "save");
|
platform_get_user_directory(path, "save");
|
||||||
|
|
||||||
|
@ -1003,7 +1003,7 @@ int save_game()
|
||||||
SDL_RWops* rw = platform_sdl_rwfromfile(path, "wb+");
|
SDL_RWops* rw = platform_sdl_rwfromfile(path, "wb+");
|
||||||
if (rw != NULL) {
|
if (rw != NULL) {
|
||||||
scenario_save(rw, 0x80000000);
|
scenario_save(rw, 0x80000000);
|
||||||
log_error("Saved to %s", gScenarioSaveName);
|
log_verbose("Saved to %s", gScenarioSaveName);
|
||||||
SDL_RWclose(rw);
|
SDL_RWclose(rw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -907,9 +907,9 @@ int scenario_save(SDL_RWops* rw, int flags)
|
||||||
int viewX, viewY, viewZoom, viewRotation;
|
int viewX, viewY, viewZoom, viewRotation;
|
||||||
|
|
||||||
if (flags & 2)
|
if (flags & 2)
|
||||||
log_error("saving scenario");
|
log_verbose("saving scenario");
|
||||||
else
|
else
|
||||||
log_error("saving game");
|
log_verbose("saving game");
|
||||||
|
|
||||||
|
|
||||||
if (!(flags & 0x80000000))
|
if (!(flags & 0x80000000))
|
||||||
|
|
Loading…
Reference in New Issue