From ee891311ccc79bbc7837caac8546aac5b9bdf80f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 13 Feb 2008 18:29:55 +0000 Subject: camera Overview as spectator only, join works --- src/client/video.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/video.cc') diff --git a/src/client/video.cc b/src/client/video.cc index 19555ec..1a1f5e2 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -60,13 +60,13 @@ bool init() int flags = 0; if( SDL_InitSubSystem(SDL_INIT_VIDEO) < 0 ) { - std::cerr << "SDL_Init() failed: " << SDL_GetError() << std::endl; + con_error << "SDL_InitSubSystem() failed: " << SDL_GetError() << std::endl; return false; } const SDL_VideoInfo* sdl_videoinfo = SDL_GetVideoInfo(); if( !sdl_videoinfo) { - std::cerr << "SDL_GetVideoInfo() failed: " << SDL_GetError() << std::endl; + con_error << "SDL_GetVideoInfo() failed: " << SDL_GetError() << std::endl; return false; } -- cgit v1.2.3