mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +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:
@@ -623,7 +623,7 @@ INT32 HandleItem( SOLDIERTYPE *pSoldier, INT16 sGridNo, INT8 bLevel, UINT16 usHa
|
||||
//TRY PUNCHING
|
||||
if ( Item[ usHandItem ].usItemClass == IC_PUNCH )
|
||||
{
|
||||
INT16 sCnt;
|
||||
//INT16 sCnt;
|
||||
INT16 sSpot;
|
||||
UINT8 ubGuyThere;
|
||||
INT16 sGotLocation = NOWHERE;
|
||||
@@ -631,7 +631,7 @@ INT32 HandleItem( SOLDIERTYPE *pSoldier, INT16 sGridNo, INT8 bLevel, UINT16 usHa
|
||||
sAdjustedGridNo = NOWHERE;
|
||||
ubDirection = 0xff;
|
||||
|
||||
for ( sCnt = 0; sCnt < NUM_WORLD_DIRECTIONS; sCnt++ )
|
||||
for ( INT8 sCnt = 0; sCnt < NUM_WORLD_DIRECTIONS; sCnt++ )
|
||||
{
|
||||
sSpot = NewGridNo( pSoldier->sGridNo, DirectionInc( sCnt ) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user