- made sysCallbacks a value variable instead of a pointer to simplify the checks for it.
This commit is contained in:
parent
1b3ef19100
commit
ff62d7a8a3
20 changed files with 34 additions and 35 deletions
|
|
@ -3057,8 +3057,7 @@ static int D_DoomMain_Internal (void)
|
|||
};
|
||||
GStrings.SetCallbacks(&stblcb);
|
||||
|
||||
static SystemCallbacks syscb =
|
||||
{
|
||||
sysCallbacks = {
|
||||
System_WantGuiCapture,
|
||||
System_WantLeftButton,
|
||||
System_NetGame,
|
||||
|
|
@ -3075,7 +3074,7 @@ static int D_DoomMain_Internal (void)
|
|||
System_GetPlayerName,
|
||||
System_DispatchEvent,
|
||||
};
|
||||
sysCallbacks = &syscb;
|
||||
|
||||
|
||||
std::set_new_handler(NewFailure);
|
||||
const char *batchout = Args->CheckValue("-errorlog");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue