mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-03-26 04:10:50 +00:00
IOQ3 commit 2194
This commit is contained in:
parent
3954517003
commit
417ec1d5a3
1 changed files with 4 additions and 0 deletions
|
@ -1120,6 +1120,10 @@ void CL_InitUI( void ) {
|
|||
VM_Call( uivm, UI_INIT, (clc.state >= CA_AUTHORIZING && clc.state < CA_ACTIVE));
|
||||
}
|
||||
else if (v != UI_API_VERSION) {
|
||||
// Free uivm now, so UI_SHUTDOWN doesn't get called later.
|
||||
VM_Free( uivm );
|
||||
uivm = NULL;
|
||||
|
||||
Com_Error( ERR_DROP, "User Interface is version %d, expected %d", v, UI_API_VERSION );
|
||||
cls.uiStarted = qfalse;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue