summaryrefslogtreecommitdiff
path: root/game.bmx
diff options
context:
space:
mode:
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