Skip to content

Commit 47f842d

Browse files
authored
Change NPC_Kill reason from 255 to REASON_SUICIDE
1 parent b158128 commit 47f842d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

omp_npc.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ native bool:NPC_IsInvulnerable(npcid);
474474
* <seealso name="NPC_IsDead" />
475475
* <seealso name="NPC_SetHealth" />
476476
*/
477-
native NPC_Kill(npcid, killerid = INVALID_PLAYER_ID, WEAPON:reason = 255);
477+
native NPC_Kill(npcid, killerid = INVALID_PLAYER_ID, WEAPON:reason = REASON_SUICIDE);
478478

479479
/*
480480
native # Weapons & Combat();

0 commit comments

Comments
 (0)