mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +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:
@@ -1452,7 +1452,7 @@ void BeginInventoryPoolPtr( OBJECTTYPE *pInventorySlot )
|
||||
fMapInventoryItem = FALSE;
|
||||
if ( _KeyDown ( 89 )) //Lalien: sell all items of this type on Alt+Y
|
||||
{
|
||||
for( UINT32 iNumber = 0; iNumber < iTotalNumberOfSlots ; ++iNumber)
|
||||
for( INT32 iNumber = 0; iNumber < iTotalNumberOfSlots ; ++iNumber)
|
||||
{
|
||||
if ( pInventoryPoolList[ iNumber ].o.usItem == gItemPointer.usItem )
|
||||
{
|
||||
|
||||
@@ -247,7 +247,7 @@ UINT8 DoReinforcementAsPendingEnemy( INT16 sMapX, INT16 sMapY )
|
||||
UINT16 pusMoveDir[4][3];
|
||||
UINT8 ubDirNumber = 0, ubIndex;
|
||||
GROUP *pGroup;
|
||||
ENEMYGROUP *pEnemyGroup;
|
||||
//ENEMYGROUP *pEnemyGroup;
|
||||
SECTORINFO *pThisSector, *pSector;
|
||||
|
||||
if( !gGameExternalOptions.gfAllowReinforcements )
|
||||
|
||||
Reference in New Issue
Block a user