From 43c221c1fae7c6ef75000b6e201f23def15a828b Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Mon, 14 Feb 2005 01:37:08 +0000 Subject: [PATCH] fix warning --- stepmania/src/RageUtil.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/stepmania/src/RageUtil.h b/stepmania/src/RageUtil.h index 105a6053e0..a31d0a886f 100644 --- a/stepmania/src/RageUtil.h +++ b/stepmania/src/RageUtil.h @@ -64,8 +64,6 @@ inline void wrap(int &x, int n) } inline void wrap(unsigned &x, unsigned n) { - if (x<0) - x += ((-x/n)+1)*n; x %= n; } inline void wrap(float &x, float n)