summaryrefslogtreecommitdiff
path: root/game.bmx
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-10-01 02:23:59 +0000
committerIan C <ianc@noddybox.co.uk>2005-10-01 02:23:59 +0000
commit2f3aeb2c37136463c73a1df65797d7996b6f6034 (patch)
tree726c95935e86d6399e6e2f52d409c690668bbe9c /game.bmx
parent6888ab61c3a894c77c1678fe7cb441a948a87dd8 (diff)
Changed to using Doubles
Diffstat (limited to 'game.bmx')
-rw-r--r--game.bmx2
1 files changed, 1 insertions, 1 deletions
diff --git a/game.bmx b/game.bmx
index 8908235..6c30f84 100644
--- a/game.bmx
+++ b/game.bmx
@@ -153,7 +153,7 @@ Type TGame
If done<>LEVEL_NOTOVER
percent=final_percent
Else
- percent:Int=Int(Float(captured)/Float(num)*100.0)
+ percent:Int=Int(Double(captured)/Double(num)*100.0)
If percent>=level.winpercent And pass_time=0
pass_time=timer