mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Adding opplist changes by pulmu, previously tested by me
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@509 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -169,7 +169,9 @@ void InitSightRange()
|
||||
STRAIGHT = (INT8)( STRAIGHT_RATIO * gGameExternalOptions.ubStraightSightRange );
|
||||
|
||||
INT8 dummy[15][15];
|
||||
|
||||
|
||||
|
||||
{ //Pulmu: VC6 compatibility
|
||||
for (int i=0; i<8; i++)
|
||||
{
|
||||
dummy[i][i]=STRAIGHT;
|
||||
@@ -188,6 +190,7 @@ void InitSightRange()
|
||||
dummy[i][i+7]=ANGLE;
|
||||
dummy[i+7][i]=ANGLE;
|
||||
}
|
||||
}
|
||||
for (int i=0; i<8; i++)
|
||||
{
|
||||
for (int j=0; j<8; j++)
|
||||
|
||||
Reference in New Issue
Block a user