From e431f827ec63316a99942f9197d7fd7de9fc6ac4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 27 Jan 2008 15:54:16 +0000 Subject: Disabled a debug function which throws warnings in older versions of GCC (e.g. under BeOS) svn-id: r30655 --- engines/saga/actor.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines') diff --git a/engines/saga/actor.h b/engines/saga/actor.h index 256a47bc51..7de448f325 100644 --- a/engines/saga/actor.h +++ b/engines/saga/actor.h @@ -268,9 +268,15 @@ struct Location { z = stream.readUint16LE(); } +#if 0 + // Obsolete function, throws warnings in older versions of GCC + // (warning: int format, int32 arg) + // Keeping it around for debug purposes void debugPrint(int debuglevel = 0, const char *loc = "Loc:") const { debug(debuglevel, "%s %d, %d, %d", loc, x, y, z); } +#endif + }; class CommonObjectData { -- cgit v1.2.3