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:
@@ -2496,7 +2496,7 @@ int ATransformer::addToGame()
|
|||||||
for (int i = 0; i < Subtypes::LAST_TYPE; ++ i)
|
for (int i = 0; i < Subtypes::LAST_TYPE; ++ i)
|
||||||
_target->removeType(i,1);
|
_target->removeType(i,1);
|
||||||
}
|
}
|
||||||
if (remove)
|
else if (remove)
|
||||||
{
|
{
|
||||||
for (it = oldtypes.begin(); it != oldtypes.end(); it++)
|
for (it = oldtypes.begin(); it != oldtypes.end(); it++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user