From e9f220c48b5db3c98627ceacde9f8cba326e060c Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 26 Jun 2011 12:17:30 +0200 Subject: [PATCH] fix a typo in warpzonelib breaking the hook --- qcsrc/warpzonelib/common.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/warpzonelib/common.qc b/qcsrc/warpzonelib/common.qc index bb4f965f7..25a67a173 100644 --- a/qcsrc/warpzonelib/common.qc +++ b/qcsrc/warpzonelib/common.qc @@ -663,7 +663,7 @@ void WarpZone_RefSys_AddIncrementally(entity me, entity ref) t = AnglesTransform_Invert(me.WarpZone_refsys_incremental_transform); s = AnglesTransform_PrePostShift_GetPostShift(me.WarpZone_refsys_incremental_shift, t, '0 0 0'); WarpZone_Accumulator_AddTransform(me.WarpZone_refsys, t, s); - WarpZone_Accumulator_Add(me.WarpZone_refsys, ref); + WarpZone_Accumulator_Add(me.WarpZone_refsys, ref.WarpZone_refsys); me.WarpZone_refsys_incremental_shift = ref.WarpZone_refsys.warpzone_shift; me.WarpZone_refsys_incremental_transform = ref.WarpZone_refsys.warpzone_transform; } -- 2.39.2