mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
New feature: Voicesets are now independent fom profile slots. Voiceset is set in MercProfiles.xml with <usVoiceIndex>. IMP voices are defined in IMPVoices.xml.
This feature is savegame compatible. Requires GameDir >= r2357 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8364 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1535,6 +1535,13 @@ BOOLEAN LoadImpCharacter( STR nickName )
|
||||
DoLapTopMessageBox( MSG_BOX_IMP_STYLE, pImpPopUpStrings[ 7 ], LAPTOP_SCREEN, MSG_BOX_FLAG_OK, NULL);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/// Flugente: until the introduction of a separate variable for the voiceset, the voice was identical with the slot
|
||||
if ( guiCurrentSaveGameVersion < SEPARATE_VOICESETS )
|
||||
{
|
||||
gMercProfiles[iProfileId].usVoiceIndex = iProfileId;
|
||||
}
|
||||
|
||||
guiCurrentSaveGameVersion = SAVE_GAME_VERSION;
|
||||
|
||||
// close file
|
||||
|
||||
Reference in New Issue
Block a user