- Fix for issue 660 (changelings have become slower)

-- I removed the string comparison, which was expensive (the test is not necessary anymore, since it was "shielding" us from fake types (names), which are not creature subtypes, and therefore do not go through). I also moved one function call outside of the loop, just in case that wasn't optimized by the compiler.
- Removed unused Subtypes.cpp function (I don't really want people to use it, it can be quite expensive if used incorrectly)
- moved a test for issue 501 that has been fixed a while ago (we forgot to add the test to the test suite)
This commit is contained in:
wagic.the.homebrew
2011-05-15 14:38:41 +00:00
parent 2ab3d27cd1
commit 2f3e6b56e5
6 changed files with 7 additions and 28 deletions

View File

@@ -0,0 +1,20 @@
#Bug: Changeling doesn't work
# Amoeboid changeling should be a kithkin, and get the Wizened Cenn bonus
# see: http://code.google.com/p/wagic/issues/detail?id=501
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Wizened Cenn,Amoeboid Changeling
hand:Scar
manapool:{R}
[PLAYER2]
[DO]
scar
Amoeboid Changeling
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Wizened Cenn,Amoeboid Changeling
graveyard:Scar
[PLAYER2]
[END]