]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_edict.c
fixed problems with playing on QW server caused by the use of _cl_name and similar...
[xonotic/darkplaces.git] / prvm_edict.c
index 700dd8e5efec37fcfcf5426bfc83051f2e48cf7f..f9db9de2206805e44674f7847fb099585c00b4af 100644 (file)
@@ -1684,10 +1684,6 @@ void PRVM_LoadProgs (const char * filename, int numrequiredfunc, char **required
 
        PRVM_FindOffsets();
 
-       // check if OP_STATE animation is possible in this dat file
-       if (prog->fieldoffsets.nextthink >= 0 && prog->fieldoffsets.frame >= 0 && prog->fieldoffsets.think >= 0 && prog->globaloffsets.self >= 0)
-               prog->flag |= PRVM_OP_STATE;
-
        PRVM_GCALL(init_cmd)();
 
        // init mempools