Add a missing "!" so the game actually runs again (I guess that was the

reason I couldn't sleep...).



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@203 4a71c877-e1ca-e34f-864e-861f7616d084
master
Christian Ohm 2005-07-21 02:00:42 +00:00
parent 4fc0c26f6d
commit 6fdc00e9c3
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ BOOL screenInitialise( UDWORD width, // Display width
}
bpp = SDL_VideoModeOK(width, height, screenDepth, video_flags);
if (bpp) {
if (!bpp) {
printf("Error: Video mode %dx%d@%dbpp is not supported!\n", width, height, screenDepth);
return FALSE;
}