Author: pdewacht-guest
Date: 2013-05-19 13:57:30 +0000 (Sun, 19 May 2013)
New Revision: 14079
Modified:
packages/trunk/torus-trooper/debian/patches/dlang_v2.patch
Log:
torus-trooper: lost some changes
Modified: packages/trunk/torus-trooper/debian/patches/dlang_v2.patch
===================================================================
--- packages/trunk/torus-trooper/debian/patches/dlang_v2.patch 2013-05-19
13:46:47 UTC (rev 14078)
+++ packages/trunk/torus-trooper/debian/patches/dlang_v2.patch 2013-05-19
13:57:30 UTC (rev 14079)
@@ -2159,3 +2159,33 @@
}
}
+--- a/src/abagames/tt/enemy.d
++++ b/src/abagames/tt/enemy.d
+@@ -57,11 +57,8 @@
+ bool passed;
+ EnemyPool passedEnemies;
+
+- public static this() {
+- rand = new Rand;
+- }
+-
+ public static void setRandSeed(long seed) {
++ if (rand is null) rand = new Rand;
+ rand.setSeed(seed);
+ }
+
+--- a/src/abagames/util/bulletml/bullet.d
++++ b/src/abagames/util/bulletml/bullet.d
+@@ -28,11 +28,8 @@
+ BulletMLRunner* runner;
+ float _rank;
+
+- public static this() {
+- rand = new Rand;
+- }
+-
+ public static void setRandSeed(long s) {
++ if (rand is null) rand = new Rand;
+ rand.setSeed(s);
+ }
+
_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits