mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
fixed Skyrider missing face and sticky dialogue text in strategic map
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6892 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -920,7 +920,7 @@ void HandleDialogue( )
|
|||||||
gTacticalStatus.ubLastQuoteProfileNUm = (UINT8)QItem->ubCharacterNum;
|
gTacticalStatus.ubLastQuoteProfileNUm = (UINT8)QItem->ubCharacterNum;
|
||||||
|
|
||||||
// Flugente: only set up face if we can access correctly
|
// Flugente: only set up face if we can access correctly
|
||||||
if ( QItem->iFaceIndex > 0 )
|
if ( QItem->iFaceIndex >= 0 )
|
||||||
{
|
{
|
||||||
// Setup face pointer
|
// Setup face pointer
|
||||||
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
||||||
@@ -986,7 +986,7 @@ void HandleDialogue( )
|
|||||||
gfUseAlternateDialogueFile = TRUE;
|
gfUseAlternateDialogueFile = TRUE;
|
||||||
|
|
||||||
// Flugente: only set up face if we can access correctly
|
// Flugente: only set up face if we can access correctly
|
||||||
if ( QItem->iFaceIndex > 0 )
|
if ( QItem->iFaceIndex >= 0 )
|
||||||
{
|
{
|
||||||
// Setup face pointer
|
// Setup face pointer
|
||||||
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
||||||
@@ -1003,7 +1003,7 @@ void HandleDialogue( )
|
|||||||
else if ( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_PCTRIGGERNPC )
|
else if ( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_PCTRIGGERNPC )
|
||||||
{
|
{
|
||||||
// Flugente: only set up face if we can access correctly
|
// Flugente: only set up face if we can access correctly
|
||||||
if ( QItem->iFaceIndex > 0 )
|
if ( QItem->iFaceIndex >= 0 )
|
||||||
{
|
{
|
||||||
// Setup face pointer
|
// Setup face pointer
|
||||||
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
||||||
@@ -1053,7 +1053,7 @@ void HandleDialogue( )
|
|||||||
SlideToLocation( 0, QItem->uiSpecialEventData );
|
SlideToLocation( 0, QItem->uiSpecialEventData );
|
||||||
|
|
||||||
// Flugente: only set up face if we can access correctly
|
// Flugente: only set up face if we can access correctly
|
||||||
if ( QItem->iFaceIndex > 0 )
|
if ( QItem->iFaceIndex >= 0 )
|
||||||
{
|
{
|
||||||
// Setup face pointer
|
// Setup face pointer
|
||||||
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
||||||
@@ -1103,7 +1103,7 @@ void HandleDialogue( )
|
|||||||
if ( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_BEGINPREBATTLEINTERFACE )
|
if ( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_BEGINPREBATTLEINTERFACE )
|
||||||
{
|
{
|
||||||
// Flugente: only set up face if we can access correctly
|
// Flugente: only set up face if we can access correctly
|
||||||
if ( QItem->iFaceIndex > 0 )
|
if ( QItem->iFaceIndex >= 0 )
|
||||||
{
|
{
|
||||||
// Setup face pointer
|
// Setup face pointer
|
||||||
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
||||||
@@ -1225,7 +1225,7 @@ void HandleDialogue( )
|
|||||||
if ( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_MINESECTOREVENT )
|
if ( QItem->uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_MINESECTOREVENT )
|
||||||
{
|
{
|
||||||
// Flugente: only set up face if we can access correctly
|
// Flugente: only set up face if we can access correctly
|
||||||
if ( QItem->iFaceIndex > 0 )
|
if ( QItem->iFaceIndex >= 0 )
|
||||||
{
|
{
|
||||||
// Setup face pointer
|
// Setup face pointer
|
||||||
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
||||||
@@ -1356,7 +1356,7 @@ void HandleDialogue( )
|
|||||||
gTacticalStatus.ubLastQuoteProfileNUm = (UINT8)QItem->ubCharacterNum;
|
gTacticalStatus.ubLastQuoteProfileNUm = (UINT8)QItem->ubCharacterNum;
|
||||||
|
|
||||||
// Flugente: only set up face if we can access correctly
|
// Flugente: only set up face if we can access correctly
|
||||||
if ( QItem->iFaceIndex > 0 )
|
if ( QItem->iFaceIndex >= 0 )
|
||||||
{
|
{
|
||||||
// Setup face pointer
|
// Setup face pointer
|
||||||
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
gpCurrentTalkingFace = &gFacesData[ QItem->iFaceIndex ];
|
||||||
|
|||||||
Reference in New Issue
Block a user