LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File tumiki-fighters-brackets.patch of Package tumiki-fighters (Project home:ykoba)

diff -ur tf/src/abagames/tf/particle.d tf_fix//src/abagames/tf/particle.d
--- tf/src/abagames/tf/particle.d	2004-05-14 23:35:38.000000000 +0200
+++ tf_fix//src/abagames/tf/particle.d	2012-05-19 22:57:32.000000000 +0200
@@ -83,7 +83,7 @@
       Screen.setColor(0.8, 0.8, 0.8, alpha);
       break;
     case TypeName.SPARK:
-      if (cnt & 1 == 0)
+      if ((cnt & 1) == 0)
 	Screen.setColor(1, 0.4, 0.2, alpha);
       else
 	Screen.setColor(1, 1, 0.1, alpha);
diff -ur tf/src/abagames/tf/tumiki.d tf_fix//src/abagames/tf/tumiki.d
--- tf/src/abagames/tf/tumiki.d	2004-05-14 23:35:38.000000000 +0200
+++ tf_fix//src/abagames/tf/tumiki.d	2012-05-19 23:03:06.000000000 +0200
@@ -32,7 +32,7 @@
   Barrage[] barrage;
   static int propellerCnt = 0;
 
-  private final const float CHECK_HIT_SIZE_RETIO = 0.7;
+  static const float CHECK_HIT_SIZE_RETIO = 0.7;
 
   public this(int shape, int color,
 	      float x, float y, float sx, float sy, float sizeRatio) {