mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fix curses app for standalone games (at least to not crash)
This commit is contained in:
parent
884eda0603
commit
6d7123c27a
1 changed files with 1 additions and 1 deletions
|
@ -2119,7 +2119,7 @@ cursesmain( XP_Bool isServer, LaunchParams* params )
|
|||
|
||||
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||
/* send any events that need to get off before the event loop begins */
|
||||
if ( !isServer ) {
|
||||
if ( !!cGlobals->game.comms && !isServer ) {
|
||||
(void)server_initClientConnection( cGlobals->game.server,
|
||||
mem_stream_make( MEMPOOL
|
||||
params->vtMgr,
|
||||
|
|
Loading…
Add table
Reference in a new issue