- removed the CLOTHES_CIVILIAN-flag, as it is not needed anymore

- the Strip function now removes the covert tags, or takes off custom clothes if already not covert
- fix: XML_Clothes.cpp was not included

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5567 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2012-09-16 14:56:45 +00:00
parent 829c3140ae
commit 3e30b296cf
6 changed files with 71 additions and 47 deletions
+2 -2
View File
@@ -4594,7 +4594,7 @@ void CleanWeapons( BOOLEAN fCleanAll )
}
}
// take off custom clothes
// undisguise or take off custom clothes
void Strip( SOLDIERTYPE * pSoldier )
{
pSoldier->Strip();
@@ -4719,7 +4719,7 @@ void TacticalFunctionSelectionMessageBoxCallBack( UINT8 ubExitValue )
CleanWeapons(TRUE);
break;
case 4:
// take off custom clothes
// undisguise or take off custom clothes
Strip(gpTempSoldier);
break;
default: