mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
- Fix: security check for underflows when adding reinforcements
- Fix: added defined heights for kid's heads and torsos to correctly apply headshots - Fix: While filling canteens, poisoned water from sectors is only consumed if no water drum is found git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5684 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -122,6 +122,12 @@ BOOLEAN CalculateSoldierZPos( SOLDIERTYPE * pSoldier, UINT8 ubPosType, FLOAT * p
|
||||
#define STANDING_LEGS_TARGET_POS 47.0f
|
||||
#define STANDING_TARGET_POS STANDING_HEAD_TARGET_POS
|
||||
|
||||
// Flugente: new defines for kid bodytypes
|
||||
#define STANDING_HEAD_BOTTOM_POS_KID 111.0f
|
||||
#define STANDING_TORSO_BOTTOM_POS_KID 67.0f
|
||||
#define CROUCHED_HEAD_BOTTOM_POS_KID 78.0f
|
||||
#define CROUCHED_TORSO_BOTTOM_POS_KID 33.0f
|
||||
|
||||
#define CROUCHED_HEIGHT 130.0f
|
||||
#define CROUCHED_LOS_POS 111.0f
|
||||
#define CROUCHED_FIRING_POS 111.0f
|
||||
|
||||
Reference in New Issue
Block a user