summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-roguelike/scourge/files/0.10-64bit.patch')
-rw-r--r--games-roguelike/scourge/files/0.10-64bit.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/games-roguelike/scourge/files/0.10-64bit.patch b/games-roguelike/scourge/files/0.10-64bit.patch
new file mode 100644
index 000000000000..1fa565081b81
--- /dev/null
+++ b/games-roguelike/scourge/files/0.10-64bit.patch
@@ -0,0 +1,9 @@
+--- scourge/src/effect.cpp~ 2005-05-19 19:47:29.000000000 +0100
++++ scourge/src/effect.cpp 2005-06-22 23:30:02.000000000 +0100
+@@ -520,7 +520,7 @@
+ //float d = (float)(shape->getDepth() / GLShape::DIV) / 2.0;
+ h = (float)(shape->getHeight() / GLShape::DIV) / 3.0f;
+ if(h == 0) h = 0.25 / GLShape::DIV;
+- sh = ((float)( abs( particle->z - particle->startZ ) / GLShape::DIV) / 3.0f);
++ sh = ((float)( abs((int)(particle->z - particle->startZ)) / GLShape::DIV) / 3.0f);
+ if(h == 0) h = 0.25 / GLShape::DIV;