mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Mark TacticalStatusType::sSlideReason as _UNUSED
Removed from function call parameters at the same time. It was supplied to SlideTo, SlideToLocation and SoldierLocationRelativeToScreen but was never used.
This commit is contained in:
@@ -4133,7 +4133,7 @@ void ScrollWorld( )
|
||||
ScrollFlags = 0;
|
||||
fDoScroll = FALSE;
|
||||
//
|
||||
if ( SoldierLocationRelativeToScreen( gTacticalStatus.sSlideTarget, gTacticalStatus.sSlideReason, &bDirection, &ScrollFlags ) && GridNoOnVisibleWorldTile( gTacticalStatus.sSlideTarget ) )
|
||||
if ( SoldierLocationRelativeToScreen( gTacticalStatus.sSlideTarget, &bDirection, &ScrollFlags ) && GridNoOnVisibleWorldTile( gTacticalStatus.sSlideTarget ) )
|
||||
{
|
||||
ScrollFlags = gScrollDirectionFlags[ bDirection ];
|
||||
fDoScroll = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user