From 17dae1a5a3a2ea94bebf5ca2ea28865b5089267d Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 9 Apr 2001 23:53:00 +0000 Subject: [PATCH] --- source/projectl/projectl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/projectl/projectl.cpp b/source/projectl/projectl.cpp index 6014acf82..bc6e8ec98 100644 --- a/source/projectl/projectl.cpp +++ b/source/projectl/projectl.cpp @@ -153,7 +153,7 @@ bool CProjectile::processTargetSeek( int _frames, DVECTOR targetPos ) m_heading += moveDist; - m_heading = m_heading % ONE; + m_heading &= 4095; s32 preShiftX = _frames * 3 * rcos( m_heading ); s32 preShiftY = _frames * 3 * rsin( m_heading );