Wrong logging fixed

This commit is contained in:
Runelaenen 2015-08-19 23:09:54 +02:00
parent 6ec01c6d65
commit 3b1708f1be
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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))