mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
bug fixes from Overhaul:
- Data type changes - Templates removed git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@871 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+3
-3
@@ -151,12 +151,12 @@ void DisplayFrameRate( )
|
||||
{
|
||||
// FRAME RATE
|
||||
memset( &VideoOverlayDesc, 0, sizeof( VideoOverlayDesc ) );
|
||||
swprintf( (wchar_t *)VideoOverlayDesc.pzText, (wchar_t *)L"%ld", __min( uiFPS, 1000 ) );
|
||||
swprintf( VideoOverlayDesc.pzText, L"%ld", __min( uiFPS, 1000 ) );
|
||||
VideoOverlayDesc.uiFlags = VOVERLAY_DESC_TEXT;
|
||||
UpdateVideoOverlay( &VideoOverlayDesc, giFPSOverlay, FALSE );
|
||||
|
||||
// TIMER COUNTER
|
||||
swprintf( (wchar_t *)VideoOverlayDesc.pzText, (wchar_t *)L"%ld", __min( giTimerDiag, 1000 ) );
|
||||
swprintf( VideoOverlayDesc.pzText, L"%ld", __min( giTimerDiag, 1000 ) );
|
||||
VideoOverlayDesc.uiFlags = VOVERLAY_DESC_TEXT;
|
||||
UpdateVideoOverlay( &VideoOverlayDesc, giCounterPeriodOverlay, FALSE );
|
||||
|
||||
@@ -266,7 +266,7 @@ UINT32 ErrorScreenHandle(void)
|
||||
InputAtom InputEvent;
|
||||
static BOOLEAN fFirstTime = FALSE;
|
||||
#ifdef JA2BETAVERSION
|
||||
wchar_t str[256];
|
||||
CHAR16 str[256];
|
||||
#endif
|
||||
|
||||
// For quick setting of new video stuff / to be changed
|
||||
|
||||
Reference in New Issue
Block a user