aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-01-27 15:54:16 +0000
committerFilippos Karapetis2008-01-27 15:54:16 +0000
commite431f827ec63316a99942f9197d7fd7de9fc6ac4 (patch)
tree5bfeeba067a1e200bb180d0bed92aff2a4e96acd
parentdd3a8672be7ef0b2e967ec40b09fc1f44a1cb252 (diff)
downloadscummvm-rg350-e431f827ec63316a99942f9197d7fd7de9fc6ac4.tar.gz
scummvm-rg350-e431f827ec63316a99942f9197d7fd7de9fc6ac4.tar.bz2
scummvm-rg350-e431f827ec63316a99942f9197d7fd7de9fc6ac4.zip
Disabled a debug function which throws warnings in older versions of GCC (e.g. under BeOS)
svn-id: r30655
-rw-r--r--engines/saga/actor.h6
1 files changed, 6 insertions, 0 deletions
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 {