mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Flashlight changes (#81)
* Flashlight changes: - Fixed the lighted area being way too large in the diagonal directions. - Added a minimum range to simulate a flashlight user not illuminating its feet. - Added angle based calculations instead of the hardcoded one. * Flashlight changes, MR feedback.
This commit is contained in:
@@ -1935,7 +1935,8 @@ public:
|
||||
//void AddDrugValues(UINT8 uDrugType, UINT8 usEffect, UINT8 usTravelRate, UINT8 usSideEffect );
|
||||
|
||||
void HandleFlashLights();
|
||||
UINT8 GetBestEquippedFlashLightRange();
|
||||
bool AddBestFlashLight();
|
||||
UINT8 GetBestEquippedFlashLightRange();
|
||||
|
||||
// Flugente: soldier profiles
|
||||
INT8 GetSoldierProfileType(UINT8 usTeam); // retrieves the correct sub-array
|
||||
|
||||
Reference in New Issue
Block a user