Cleaned up IMP creation code

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8350 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2016-12-30 17:43:30 +00:00
parent d6b7dd4d52
commit 58eb840439
9 changed files with 128 additions and 464 deletions
+3 -3
View File
@@ -1102,6 +1102,8 @@ BOOLEAN LoadExternalGameplayData(STR directoryName)
}
#endif
LoadIMPPortraitsTEMP( );
// Flugente: soldier profiles
if (!is_networked)
{
@@ -1159,9 +1161,7 @@ BOOLEAN LoadExternalGameplayData(STR directoryName)
num_found_soldier_profiles[5] = num_found_profiles;
}
}
LoadIMPPortraitsTEMP();
//Sound profile by jazz
strcpy(fileName, directoryName);
strcat(fileName, SOUNDPROFILE);