mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
fix for error in last commit
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9245 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1409,7 +1409,6 @@ void ChooseRandomEdgepoints()
|
|||||||
// have the merc look outward. We add + 100 because later on we use this to signify that we want really enforce this direction
|
// have the merc look outward. We add + 100 because later on we use this to signify that we want really enforce this direction
|
||||||
gMercPlacement[i].pSoldier->ubInsertionDirection = (UINT8)GetDirectionToGridNoFromGridNo( gMapInformation.sCenterGridNo, gMercPlacement[i].pSoldier->usStrategicInsertionData ) + 100;
|
gMercPlacement[i].pSoldier->ubInsertionDirection = (UINT8)GetDirectionToGridNoFromGridNo( gMapInformation.sCenterGridNo, gMercPlacement[i].pSoldier->usStrategicInsertionData ) + 100;
|
||||||
}
|
}
|
||||||
else if(gfCenter && gGameExternalOptions.ubSkyriderHotLZ == 1 && gMercPlacement[i].pSoldier->usSoldierFlagMask & SOLDIER_AIRDROP)
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
gMercPlacement[ i ].pSoldier->usStrategicInsertionData = ChooseMapEdgepoint( &gMercPlacement[ i ].ubStrategicInsertionCode, lastValidICode );
|
gMercPlacement[ i ].pSoldier->usStrategicInsertionData = ChooseMapEdgepoint( &gMercPlacement[ i ].ubStrategicInsertionCode, lastValidICode );
|
||||||
|
|||||||
Reference in New Issue
Block a user