mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Fixed smiley position
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2394 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+4
-3
@@ -853,7 +853,8 @@ UINT32 SexScreenHandle(void)
|
||||
INT16 sX, sY;
|
||||
|
||||
// OK, Clear screen and show smily face....
|
||||
ColorFillVideoSurfaceArea( FRAME_BUFFER, 0, 0, 640, 480, Get16BPPColor( FROMRGB( 0, 0, 0 ) ) );
|
||||
//ColorFillVideoSurfaceArea( FRAME_BUFFER, 0, 0, 640, 480, Get16BPPColor( FROMRGB( 0, 0, 0 ) ) );
|
||||
ColorFillVideoSurfaceArea( FRAME_BUFFER, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, Get16BPPColor( FROMRGB( 0, 0, 0 ) ) );
|
||||
InvalidateScreen( );
|
||||
// Remove cursor....
|
||||
SetCurrentCursorFromDatabase( VIDEO_NO_CURSOR );
|
||||
@@ -923,8 +924,8 @@ UINT32 SexScreenHandle(void)
|
||||
GetVideoObject( &hVObject, guiSMILY );
|
||||
pTrav = &(hVObject->pETRLEObject[ 0 ] );
|
||||
|
||||
sX = (INT16)(( 640 - pTrav->usWidth ) / 2);
|
||||
sY = (INT16)(( 480 - pTrav->usHeight ) / 2);
|
||||
sX = (INT16)(( SCREEN_WIDTH - pTrav->usWidth ) / 2);
|
||||
sY = (INT16)(( SCREEN_HEIGHT - pTrav->usHeight ) / 2);
|
||||
|
||||
if( bCurFrame < 24 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user