mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fixes to reduce the number of compile warnings. Still many more to fix
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1535 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -884,7 +884,7 @@ BOOLEAN DequeAllGameEvents( BOOLEAN fExecute )
|
||||
BOOLEAN DequeueAllDemandGameEvents( BOOLEAN fExecute )
|
||||
{
|
||||
EVENT *pEvent;
|
||||
BOOLEAN fCompleteLoop = FALSE;
|
||||
//BOOLEAN fCompleteLoop = FALSE;
|
||||
|
||||
// Dequeue all events on the demand queue (only)
|
||||
|
||||
@@ -977,7 +977,7 @@ BOOLEAN ExecuteGameEvent( EVENT *pEvent )
|
||||
|
||||
// Call soldier function
|
||||
DebugMsg( TOPIC_JA2, DBG_LEVEL_3, "Event Pump: Change Dest");
|
||||
EVENT_SetSoldierDestination( pSoldier, SChangeDest.usNewDestination );
|
||||
EVENT_SetSoldierDestination( pSoldier, (UINT8) SChangeDest.usNewDestination );
|
||||
break;
|
||||
|
||||
case S_SETPOSITION:
|
||||
@@ -1113,7 +1113,7 @@ BOOLEAN ExecuteGameEvent( EVENT *pEvent )
|
||||
|
||||
// Call soldier function
|
||||
DebugMsg( TOPIC_JA2, DBG_LEVEL_3, String( "Event Pump: SetDesiredDirection: Dir( %d )", SSetDesiredDirection.usDesiredDirection) );
|
||||
EVENT_SetSoldierDesiredDirection( pSoldier, SSetDesiredDirection.usDesiredDirection );
|
||||
EVENT_SetSoldierDesiredDirection( pSoldier, (UINT8) SSetDesiredDirection.usDesiredDirection );
|
||||
break;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user