Skip to content

Commit 68d745b

Browse files
authored
Merge pull request #14 from mysy00/patch-1
Correct weapon definitions
2 parents 64c3797 + ec6b75d commit 68d745b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

omp_core.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ enum WEAPON:__WEAPON
4242
UNKNOWN_WEAPON = -1,
4343
// Special `OnPlayerDeath` `reason` values. NOT included in `MAX_WEAPONS`.
4444
REASON_VEHICLE = 49,
45+
REASON_HELICOPTER_BLADES = 50,
46+
REASON_EXPLOSION = 51,
4547
REASON_DROWN = 53,
4648
REASON_COLLISION = 54,
4749
REASON_SPLAT = 54,
4850
REASON_CONNECT = 200,
49-
REASON_DISCONNECT = 200,
51+
REASON_DISCONNECT = 201,
5052
REASON_SUICIDE = 255,
5153
// The main weapon types. Done after the reasons so sizes are correct.
5254
WEAPON_FIST = 0,

0 commit comments

Comments
 (0)