diff options
| author | oy <Tom_Adams@web.de> | 2011-01-06 22:18:19 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-01-06 22:18:19 +0100 |
| commit | f8b1edca646b14f5c7cbae71a2cd20d42c1fd705 (patch) | |
| tree | 2e23cd0a0a7e0adc820f7020d2897bacdf9e29b0 /src/engine | |
| parent | 7487a22956680c601e57b9a0edd93eda1e33e287 (diff) | |
| download | zcatch-f8b1edca646b14f5c7cbae71a2cd20d42c1fd705.tar.gz zcatch-f8b1edca646b14f5c7cbae71a2cd20d42c1fd705.zip | |
show error message for all content that could not be loaded. Closes #257
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/client/graphics.cpp | 2 | ||||
| -rw-r--r-- | src/engine/client/sound.cpp | 2 |
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; } |