From: Rudolf Polzer Date: Sun, 26 Jun 2011 10:17:30 +0000 (+0200) Subject: fix a typo in warpzonelib breaking the hook X-Git-Tag: xonotic-v0.5.0~159^2~28 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e9f220c48b5db3c98627ceacde9f8cba326e060c;p=xonotic%2Fxonotic-data.pk3dir.git fix a typo in warpzonelib breaking the hook --- 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; }