From a7541810b4c4b991267ce7a63c6c4ad25e79e080 Mon Sep 17 00:00:00 2001 From: Oystein Eftevaag Date: Thu, 26 Aug 2010 23:41:39 +0000 Subject: HUGO: Removed some dead code and redundant indirection svn-id: r52404 --- engines/hugo/util.cpp | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'engines/hugo/util.cpp') diff --git a/engines/hugo/util.cpp b/engines/hugo/util.cpp index fb3da9df88..3bd8f8100c 100644 --- a/engines/hugo/util.cpp +++ b/engines/hugo/util.cpp @@ -182,25 +182,4 @@ void Utils::gameOverMsg(void) { warning("STUB: Gameover_msg(): %s", HugoEngine::get()._textUtil[kGameOver]); } -#if 0 -// Strangerke: Useless? -void Utils::Debug_out(char *format, ...) { - /* Write debug info to file */ - static FILE *fp = NULL; - va_list marker; - - if (HugoEngine::get().getGameStatus().debugFl) { - /* Create/truncate if first call, else append */ - if ((fp = fopen("debug.txt", (fp == NULL) ? "w" : "a")) == NULL) { - Error(WRITE_ERR, "debug.txt"); - return; - } - - va_start(marker, format); - vfprintf(fp, format, marker); - va_end(marker); - fclose(fp); - } -} -#endif } // end of namespace Hugo -- cgit v1.2.3