summaryrefslogblamecommitdiff
path: root/games/quake3/files/patch-code-client-cl_ui.c
blob: be618fb8922e36615c813eb0d83b86fdee5cb1f2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                                        








                                                                                                      
--- ./code/client/cl_ui.c.orig	Wed May 31 18:55:11 2006
+++ ./code/client/cl_ui.c	Wed May 31 18:55:13 2006
@@ -1166,7 +1166,7 @@
 		// init for this gamestate
 		VM_Call( uivm, UI_INIT, (cls.state >= CA_AUTHORIZING && cls.state < CA_ACTIVE));
 	}
-	else if (v != UI_API_VERSION) {
+	else if (v != 0 && v != UI_API_VERSION) {
 		Com_Error( ERR_DROP, "User Interface is version %d, expected %d", v, UI_API_VERSION );
 		cls.uiStarted = qfalse;
 	}