]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
stop predicting movement when no server packets have been received for
[xonotic/darkplaces.git] / sv_user.c
index 98f28141eb3bc594281df63ff2f4dbd239a68502..4ea1916196efa9c4cd04b4b69ad9d5025e385940 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -392,7 +392,7 @@ void SV_ClientThink (void)
        if (host_client->edict->fields.server->movetype == MOVETYPE_NONE)
                return;
 
-       onground = (int)host_client->edict->fields.server->flags & FL_ONGROUND;
+       onground = ((int)host_client->edict->fields.server->flags & FL_ONGROUND) != 0;
 
        DropPunchAngle ();