mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Little Alien
- Game version string changed Added changes from Madd Mugsy 2006.05.24 - Fixed tracer bullet firing during daytime bug - Made camobonus not depend on gear status - Items with coolness = 0 are "illegal" - Made wirecutter cursor appear for utility knife when able to cut fences - Made autofire-only guns not work if they're in the secondary hand git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@80 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -162,8 +162,13 @@ UINT8 GetProperItemCursor( UINT8 ubSoldierID, UINT16 ubItemIndex, UINT16 usMapPo
|
||||
break;
|
||||
|
||||
case KNIFECURS:
|
||||
|
||||
ubCursorID = HandleKnifeCursor( pSoldier, sTargetGridNo, fActivated, uiCursorFlags );
|
||||
//Madd: quick hack to make wirecutter cursor appear when using a knife that can cut through wire
|
||||
if ( Item[ubItemIndex].wirecutters && IsCuttableWireFenceAtGridNo( sTargetGridNo ) && pSoldier->bLevel == 0 )
|
||||
{
|
||||
ubCursorID = GOOD_WIRECUTTER_UICURSOR;
|
||||
}
|
||||
else
|
||||
ubCursorID = HandleKnifeCursor( pSoldier, sTargetGridNo, fActivated, uiCursorFlags );
|
||||
break;
|
||||
|
||||
case AIDCURS:
|
||||
|
||||
Reference in New Issue
Block a user