mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-29 02:00:28 +01:00
Moved cgi.protocol to a new variable called cg_protocol instead, due to issues like GetCGameAPI being loaded before having client imports (cgi)
This commit is contained in:
1 parent
fa69717bed
commit
36dce22071
9 files changed
+17
-21
No files matched your search
@@ -1147,7 +1147,7 @@ void CG_ParseCGMessage_ver_6()
|
||||
}
|
||||
|
||||
void CG_InitCGMessageAPI(clientGameExport_t* cge)
|
||||
{ if (cgi.protocol >= PROTOCOL_MOHTA_MIN) {
|
||||
{ if (cg_protocol >= PROTOCOL_MOHTA_MIN) {
|
||||
cge->CG_ParseCGMessage = &CG_ParseCGMessage_ver_15;
|
||||
} else {
|
||||
cge->CG_ParseCGMessage = &CG_ParseCGMessage_ver_6;
|
||||
|
||||
Reference in new issue
Block a user