File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1414 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1515 */
1616
17- #define RSES_NOLERP 1
17+ #define RSES_NOLERP 1
1818#define RSES_NOROTATE 2
1919#define RSES_NOTRAILS 4
2020#define RSES_NOLIGHTS 8
@@ -267,6 +267,10 @@ float(float isnew) PipNewPlayer =
267267 self. alpha = autocvar_pip_xray_alpha * distanceFactor;
268268 self. fatness = 2 ;
269269
270+ // Workaround for self.origin not being lerped, bug in FTE, remove once fixed.
271+ vector origin = getentity(self. entnum, GE_ORIGIN);
272+ setorigin(self, origin);
273+
270274 string pov_team = getplayerkeyvalue(player_localentnum-1 , "team" );
271275 string ent_team = getplayerkeyvalue(pnum, "team" );
272276
@@ -298,7 +302,7 @@ void() CSQC_WorldLoaded =
298302 }
299303 })", autocvar_pip_xray_color_enemy);
300304
301- deltalisten(" progs/ player. mdl", PipNewPlayer, RSES_NOLERP | RSES_NOROTATE );
305+ deltalisten(" progs/ player. mdl", PipNewPlayer, 0 );
302306 }
303307
304308 if (PipLoadItems()) {
You can’t perform that action at this time.
0 commit comments