aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {