From c186b58679c50b06966997d33d5e91a99c5621ea Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 16 Mar 2008 09:39:02 +0000 Subject: fixes compilation on soliter, abort dedicated server on error --- src/render/render.cc | 4 ++-- src/render/tga.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render') 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; } -- cgit v1.2.3