]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_edict.c
added pmove_onground to get this value from the engine prediction
[xonotic/darkplaces.git] / prvm_edict.c
index ed7701d4a046618d146d61fb82ee3d5d4409b90c..7aa2dae0b2e493c7ef7b2eb4f6cc0692d976a230 100644 (file)
@@ -1748,6 +1748,8 @@ void PRVM_FindOffsets(void)
        prog->globaloffsets.particles_alphamax            = PRVM_ED_FindGlobalOffset("particles_alphamax");
        prog->globaloffsets.particles_colormin            = PRVM_ED_FindGlobalOffset("particles_colormin");
        prog->globaloffsets.particles_colormax            = PRVM_ED_FindGlobalOffset("particles_colormax");
+       prog->globaloffsets.pmove_onground                = PRVM_ED_FindGlobalOffset("pmove_onground");
+       prog->globaloffsets.pmove_inwater                 = PRVM_ED_FindGlobalOffset("pmove_inwater");
 
        // menu qc only uses some functions, nothing else
        prog->funcoffsets.m_draw                          = PRVM_ED_FindFunctionOffset("m_draw");