mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Update to Master
This commit is contained in:
@@ -1199,7 +1199,14 @@ BOOLEAN InternalAddSoldierToSector(SoldierID ubID, BOOLEAN fCalculateDirection,
|
||||
if( fCalculateDirection )
|
||||
ubDirection = ubCalculatedDirection;
|
||||
else
|
||||
{
|
||||
// Override calculated direction if we were told to....
|
||||
if ( pSoldier->ubInsertionDirection >= 100 )
|
||||
{
|
||||
pSoldier->ubInsertionDirection -= 100;
|
||||
}
|
||||
ubDirection = pSoldier->ubInsertionDirection;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user