mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Merged from revision: 6981
Enabled auto-taking for concertina/sandbags (by Sevenfm) - items are taken from current merc's inventory - works only in realtime - when filling sandbags, filled sandbag is dropped, and new empty is taken from inventory - you need to press [shift] while clicking with hammer for this feature to be activated Autofire bullets (by Sevenfm) Set default number of autofire bullets: 0 = Max bullets allowed with max aiming 1..10 = Set default number of bullets 1. For MPs and SMGs SET_DEFAULT_AUTOFIRE_BULLETS_SMG = 1 2. For ARs, Rifles and Shotguns SET_DEFAULT_AUTOFIRE_BULLETS_AR = 1 3. For MGs SET_DEFAULT_AUTOFIRE_BULLETS_MG = 1 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6982 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
//extern BOOLEAN gfDisplayFullCountRingBurst;
|
||||
extern BOOLEAN gfAutofireInitBulletNum;
|
||||
extern UINT16 PickSoldierReadyAnimation( SOLDIERTYPE *pSoldier, BOOLEAN fEndReady, BOOLEAN fHipStance );
|
||||
|
||||
//#define AP_TO_AIM_TILE_IF_GETTING_READY 1
|
||||
@@ -1846,6 +1847,9 @@ UINT32 UIHandleMChangeToAction( UI_EVENT *pUIEvent )
|
||||
|
||||
//guiNewUICursor = CONFIRM_MOVE_UICURSOR;
|
||||
|
||||
// sevenfm: this flag means that we'll need to initialize number of bullets for autofire
|
||||
gfAutofireInitBulletNum = FALSE;
|
||||
|
||||
return( GAME_SCREEN );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user