about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/graphics.cpp2
-rw-r--r--src/engine/client/sound.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/client/graphics.cpp b/src/engine/client/graphics.cpp
index 82248f05..045d15d0 100644
--- a/src/engine/client/graphics.cpp
+++ b/src/engine/client/graphics.cpp
@@ -389,7 +389,7 @@ int CGraphics_OpenGL::LoadPNG(CImageInfo *pImg, const char *pFilename, int Stora
 		io_close(File);
 	else
 	{
-		dbg_msg("game/png", "failed to open file. filename='%s'", aCompleteFilename);
+		dbg_msg("game/png", "failed to open file. filename='%s'", pFilename);
 		return 0;
 	}
 	
diff --git a/src/engine/client/sound.cpp b/src/engine/client/sound.cpp
index 7396b444..01012a60 100644
--- a/src/engine/client/sound.cpp
+++ b/src/engine/client/sound.cpp
@@ -329,7 +329,7 @@ int CSound::LoadWV(const char *pFilename)
 	ms_File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL);
 	if(!ms_File)
 	{
-		dbg_msg("sound/wv", "failed to open %s", pFilename);
+		dbg_msg("sound/wv", "failed to open file. filename='%s'", pFilename);
 		return -1;
 	}