X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Flib%2Fcsqcmodel%2Finterpolate.qh;fp=qcsrc%2Flib%2Fcsqcmodel%2Finterpolate.qh;h=d02b8e827433a349c3799ac589d2ecea3736cab0;hp=7c6b2c3490ac492a2faee3881131551a7fd4c7f3;hb=46077554d96e137c9fe832146b4701722caf7f18;hpb=bd6cfe287bce768a3c4370a623d2ddb16cff2e19 diff --git a/qcsrc/lib/csqcmodel/interpolate.qh b/qcsrc/lib/csqcmodel/interpolate.qh index 7c6b2c3490..d02b8e8274 100644 --- a/qcsrc/lib/csqcmodel/interpolate.qh +++ b/qcsrc/lib/csqcmodel/interpolate.qh @@ -36,6 +36,10 @@ const int IFLAG_V_ANGLE_X = BIT(8); const int IFLAG_ORIGIN = BIT(9); const int IFLAG_INTERNALMASK = IFLAG_VALID | IFLAG_PREVALID; +// InterpolateOrigin can interpolate many things, not just origin; +// set the appropriate flag(s) to this.iflags before +// InterpolateOrigin_Note(this) and after InterpolateOrigin_Undo(this) + // call this BEFORE reading an entity update void InterpolateOrigin_Undo(entity this);