diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-13 18:29:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-13 18:29:55 +0000 |
commit | ee891311ccc79bbc7837caac8546aac5b9bdf80f (patch) | |
tree | 4279b0bec63d2152669b19d1f11199c56ae57b7b /src/client/video.cc | |
parent | a65427370dfe27dfa74efb0bddd44d7ffb9552ac (diff) |
camera Overview as spectator only, join works
Diffstat (limited to 'src/client/video.cc')
-rw-r--r-- | src/client/video.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |