diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-16 09:39:02 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-16 09:39:02 +0000 |
commit | c186b58679c50b06966997d33d5e91a99c5621ea (patch) | |
tree | c666439f63f62825e2fff419728d4c026661f9ed /src/render | |
parent | 11acb6ebad36c20de5f22fb5b7edbf11d8b29254 (diff) |
fixes compilation on soliter, abort dedicated server on error
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/render.cc | 4 | ||||
-rw-r--r-- | src/render/tga.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/render/render.cc b/src/render/render.cc index c6183c0..76f2373 100644 --- a/src/render/render.cc +++ b/src/render/render.cc @@ -24,11 +24,11 @@ void init() con_print << "Loading textures..." << std::endl; if (!TGA::texture(textures, "bitmaps/loader.tga", 0)) { - con_error << "Essential file bitmaps/loader.tga missing" << std::endl; + //con_error << "Essential file bitmaps/loader.tga missing" << std::endl; core::application()->shutdown(); } if (!TGA::texture(textures, "bitmaps/conchars.tga", 1)) { - con_error << "Essential file bitmaps/conchars.tga missing" << std::endl; + //con_error << "Essential file bitmaps/conchars.tga missing" << std::endl; core::application()->shutdown(); } diff --git a/src/render/tga.cc b/src/render/tga.cc index 18b8870..0eb2ef6 100644 --- a/src/render/tga.cc +++ b/src/render/tga.cc @@ -24,7 +24,7 @@ bool TGA::texture(GLuint textureArray[], const char *filename, int ID) image *pBitMap = load(filename); if (!pBitMap) { - con_warn << "Could not load " << filename << std::endl; + //con_warn << "Could not load " << filename << std::endl; return false; } |