From 98875c5a636f50fe89b9394b8193e86094ae14e0 Mon Sep 17 00:00:00 2001 From: Dusan Durech Date: Fri, 14 Nov 2008 16:38:41 +0100 Subject: uses new macro DEBUG_MSG --- src/client/saveLoad.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/client/saveLoad.c') diff --git a/src/client/saveLoad.c b/src/client/saveLoad.c index 01f6ea1..b5dbdf2 100644 --- a/src/client/saveLoad.c +++ b/src/client/saveLoad.c @@ -81,9 +81,9 @@ void saveArena(char *filename, arena_t * arena) char path[STR_PATH_SIZE]; sprintf(path, "%s/%s.sav", getHomeDirector(), filename); -#ifdef DEBUG - printf(_("Saving game to: \"%s\"\n"), path); -#endif + + DEBUG_MSG(_("Saving game to: \"%s\"\n"), path); + textFile = newTextFile(path); if (textFile != NULL) { @@ -247,9 +247,9 @@ void loadArena(char *filename) char path[STR_PATH_SIZE]; sprintf(path, "%s/%s", getHomeDirector(), filename); -#ifdef DEBUG - printf(_("Loadig game from file: \"%s\"\n"), path); -#endif + + DEBUG_MSG(_("Loadig game from file: \"%s\"\n"), path); + textFile = loadTextFile(path); if (textFile != NULL) { -- cgit v1.2.3