]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
fix a typo
[xonotic/darkplaces.git] / sv_user.c
index dec9d6c13868b153e1e228500156bff014e7079c..4d767753014336cb5d907e8fa8c5c02ea98ec4e8 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -691,7 +691,7 @@ void SV_ReadClientMove (usercmd_t *move)
                move->cursor_entitynumber = MSG_ReadShort();
                // as requested by FrikaC, cursor_trace_ent is reset to world if the
                // entity is free at time of receipt
-               if (EDICT_NUM(move->cursor_entitynumber)->e->freed)
+               if (EDICT_NUM(move->cursor_entitynumber)->e->free)
                        move->cursor_entitynumber = 0;
                if (msg_badread) Con_Printf("SV_ReadClientMessage: badread at %s:%i\n", __FILE__, __LINE__);
        }