mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix bug where structure was not being initialized. This caused occasional crashes when dialog with text was displayed.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1064 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2070,6 +2070,9 @@ void HandleExternNPCSpeechFace( INT32 iIndex )
|
||||
// Set flag to say WE control when to set inactive!
|
||||
gFacesData[ iFaceIndex ].uiFlags |= FACE_INACTIVE_HANDLED_ELSEWHERE;
|
||||
|
||||
// WDS - bug fix: VideoOverlayDesc must be initialized! - 07/16/2007
|
||||
memset( &VideoOverlayDesc, 0, sizeof( VIDEO_OVERLAY_DESC ) );
|
||||
|
||||
if ( guiCurrentScreen != MAP_SCREEN )
|
||||
{
|
||||
// Setup video overlay!
|
||||
@@ -2918,4 +2921,4 @@ void SetExternMapscreenSpeechPanelXY( INT16 sXPos, INT16 sYPos )
|
||||
{
|
||||
gsExternPanelXPosition = sXPos;
|
||||
gsExternPanelYPosition = sYPos;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user