made it an else transformer removetypes...reason, you are either

removing the types, removing all types, or adding a type...not ever doing them all in a single transforms.
This commit is contained in:
omegablast2002@yahoo.com
2011-05-10 14:34:49 +00:00
parent ac6fd6bbf8
commit 8c2c0ae8de

View File

@@ -2496,7 +2496,7 @@ int ATransformer::addToGame()
for (int i = 0; i < Subtypes::LAST_TYPE; ++ i)
_target->removeType(i,1);
}
if (remove)
else if (remove)
{
for (it = oldtypes.begin(); it != oldtypes.end(); it++)
{