From c81049a7f5bbd53c2bdf39c8c269208fa6d184f4 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sun, 24 Aug 2008 16:23:01 +0000 Subject: [PATCH] cmc("0") == 0 git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1162 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic.mse-game/script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index 483a1b20..1b8d6fb3 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -498,7 +498,7 @@ cmc := {to_number( for each sym in cmc_split() do ( numbers := only_numbers(sym) if is_half_mana(sym) then 0.5 - else if numbers != "" then max(1, to_int(numbers)) + else if numbers != "" then to_int(numbers) else 1 # all other symbols are 1 )) }