mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- removed variables that are not used
- some fixes on soldier direction calculations git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1403 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+4
-1
@@ -369,8 +369,11 @@ void RevealRoofsAndItems(SOLDIERTYPE *pSoldier, UINT32 itemsToo, BOOLEAN fShowLo
|
||||
|
||||
|
||||
BuildSightDir(dir,(UINT32 *)&Dir[0],(UINT32 *)&Dir[1],(UINT32 *)&Dir[2],(UINT32 *)&Dir[3],(UINT32 *)&Dir[4]);
|
||||
|
||||
for (cnt = 0; cnt < 5; cnt++)
|
||||
Inc[cnt] = DirectionInc( (INT16)Dir[cnt]);
|
||||
{
|
||||
Inc[cnt] = DirectionInc( Dir[cnt] );
|
||||
}
|
||||
|
||||
// create gridno increment for NOVIEW - in other words, no increment!
|
||||
Inc[5] = 0;
|
||||
|
||||
Reference in New Issue
Block a user