X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=6c2e968417e2b82f7ba74544d3d6634d931417d2;hb=b99f492ccd77b0105e61b95780c44959f588da25;hp=ce418468d15f87741ba7a2945118d422065ee6d1;hpb=dedebdc78822d9aa4da65633587a89c8eb55455e;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index ce418468..6c2e9684 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -471,7 +471,7 @@ void InitVideoBuffer(int width, int height, int depth, boolean fullscreen) SDLInitVideoBuffer(fullscreen); - video.initialized = TRUE; + video.initialized = !program.headless; drawto = backbuffer; }