r8364 - packages/trunk/rrootage/debian/patches

Peter De Wachter pdewacht-guest at alioth.debian.org
Mon Nov 10 20:31:34 UTC 2008


Author: pdewacht-guest
Date: 2008-11-10 20:31:33 +0000 (Mon, 10 Nov 2008)
New Revision: 8364

Added:
   packages/trunk/rrootage/debian/patches/10_deg_out_of_range.patch
Modified:
   packages/trunk/rrootage/debian/patches/series
Log:
fix for 504229, I think


Added: packages/trunk/rrootage/debian/patches/10_deg_out_of_range.patch
===================================================================
--- packages/trunk/rrootage/debian/patches/10_deg_out_of_range.patch	                        (rev 0)
+++ packages/trunk/rrootage/debian/patches/10_deg_out_of_range.patch	2008-11-10 20:31:33 UTC (rev 8364)
@@ -0,0 +1,11 @@
+--- a/src/foecommand.cc
++++ b/src/foecommand.cc
+@@ -76,7 +76,7 @@
+ }
+ 
+ void FoeCommand::doChangeDirection(double d) {
+-  foe->d = (int)(d*DIV/360);
++  foe->d = (int)(d*DIV/360) & (DIV-1);
+ }
+ 
+ void FoeCommand::doChangeSpeed(double s) {

Modified: packages/trunk/rrootage/debian/patches/series
===================================================================
--- packages/trunk/rrootage/debian/patches/series	2008-11-10 19:26:18 UTC (rev 8363)
+++ packages/trunk/rrootage/debian/patches/series	2008-11-10 20:31:33 UTC (rev 8364)
@@ -7,3 +7,4 @@
 07_use_system_bulletml.patch
 08_windowed_mode.patch
 #09_rrootage_make_highres_default.patch
+10_deg_out_of_range.patch




More information about the Pkg-games-commits mailing list