Skip to content

Commit 80b792c

Browse files
committed
-There was a macro for killing all screen output already , added it to include curses init. Now when you want a consoleless server you just need to pass the MACRO during build
1 parent d7b6af1 commit 80b792c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/parsec_server/e_gameserver.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,10 @@ int E_GameServer::Init()
283283
// register all AUX/SV vars
284284
CON_AUX_SV_Register();
285285
}
286+
#ifndef _DISABLE_SCREEN_OUTPUT
286287
// init CURSES
287288
CON_InitCurses();
288-
289+
#endif
289290
// init the input system
290291
INP_Init();
291292

@@ -807,7 +808,7 @@ int E_GameServer::MainLoop()
807808

808809
//Run Server Frame
809810
ServerFrame();
810-
811+
811812
// process console input
812813
CON_ConsoleMain();
813814
}

0 commit comments

Comments
 (0)