X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=csprogs.c;h=4bacb5632e8a595d00d98ed5962766a128b7a67a;hp=47ac1ef22a4b77b627fb85ce47de3523e9326943;hb=8bbbfbd93eee3aaa0532de92be084d9fcb831d4e;hpb=4d34e0a632cbc401712f46e10bb9864438b0881f diff --git a/csprogs.c b/csprogs.c index 47ac1ef2..4bacb563 100644 --- a/csprogs.c +++ b/csprogs.c @@ -1043,7 +1043,7 @@ void CL_VM_Init (void) else { Mem_Free(csprogsdata); - CL_Disconnect(false, "Your %s is not the same version as the server (CRC is %i/%i but should be %i/%i)\n", csqc_progname.string, csprogsdatacrc, (int)csprogsdatasize, requiredcrc, requiredsize); + CL_DisconnectEx(false, "Your %s is not the same version as the server (CRC is %i/%i but should be %i/%i)\n", csqc_progname.string, csprogsdatacrc, (int)csprogsdatasize, requiredcrc, requiredsize); return; } } @@ -1051,7 +1051,7 @@ void CL_VM_Init (void) else { if (requiredcrc >= 0) - CL_Disconnect(false, CON_ERROR "CL_VM_Init: %s requires CSQC, but \"%s\" wasn't found\n", cls.demoplayback ? "demo" : "server", csqc_progname.string); + CL_DisconnectEx(false, CON_ERROR "CL_VM_Init: %s requires CSQC, but \"%s\" wasn't found\n", cls.demoplayback ? "demo" : "server", csqc_progname.string); return; }