mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fix: previous fix excluded non-RPCs from dialogue replacement
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8818 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2156,7 +2156,8 @@ BOOLEAN ExecuteCharacterDialogue( UINT8 ubCharacterNum, UINT16 usQuoteNum, INT32
|
|||||||
|
|
||||||
// Flugente: hijack the quote for possible replacement by additional dialogue
|
// Flugente: hijack the quote for possible replacement by additional dialogue
|
||||||
// only do so if recruited (npc dialogue is already unique)
|
// only do so if recruited (npc dialogue is already unique)
|
||||||
if ( gMercProfiles[ubCharacterNum].ubMiscFlags & PROFILE_MISC_FLAG_RECRUITED )
|
if ( ( gMercProfiles[ubCharacterNum].Type != PROFILETYPE_RPC && gMercProfiles[ubCharacterNum].Type != PROFILETYPE_NPC )
|
||||||
|
|| ( gMercProfiles[ubCharacterNum].ubMiscFlags & PROFILE_MISC_FLAG_RECRUITED ) )
|
||||||
LuaHandleReplaceQuote( ubCharacterNum, usQuoteNum );
|
LuaHandleReplaceQuote( ubCharacterNum, usQuoteNum );
|
||||||
|
|
||||||
// sevenfm: stop high speed timer for any talking face
|
// sevenfm: stop high speed timer for any talking face
|
||||||
|
|||||||
Reference in New Issue
Block a user