Restored the card sorting for magic: the color component of sort_index was accidentally removed.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1125 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-09 18:40:13 +00:00
parent 4d674712d1
commit d7c867e759
+3 -2
View File
@@ -162,9 +162,10 @@ include file: /magic-blends.mse-include/new-blends
############################################################## Card number
# Index for sorting, white cards are first, so white->A, blue->B, .. ,
# The code consists of 4 parts:
# normal/token, color, shifted, split
# The code consists of 3 parts:
# color, shifted, split
sort_index := {
color_of_card() +
(if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones
(if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones
":"