]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Make it compile (another test case) Mario/crash_fix_test
authorMario <zacjardine@y7mail.com>
Thu, 29 Jan 2015 17:18:53 +0000 (04:18 +1100)
committerMario <zacjardine@y7mail.com>
Thu, 29 Jan 2015 17:18:53 +0000 (04:18 +1100)
sv_user.c

index 1dcdb76f443e534d49f76ce6659483dd709b8394..38afe7b5403aa642591a5e34831342fd850df876 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -859,7 +859,7 @@ void SV_ReadClientMessage(void)
                                *q = 0;
                        if (strncasecmp(s, "spawn", 5) == 0
                         || strncasecmp(s, "begin", 5) == 0
-                        || (strncasecmp(s, "prespawn", 8) == 0 && !src_client->prespawned))
+                        || (strncasecmp(s, "prespawn", 8) == 0 && !host_client->prespawned))
                                Cmd_ExecuteString (s, src_client, true);
                        else if (PRVM_serverfunction(SV_ParseClientCommand))
                        {