Fix TF2_MakeBleed using incorrect custom damage type (#1163)
This commit is contained in:
parent
1534f8749b
commit
1a71f4fbde
@ -86,7 +86,7 @@ cell_t TF2_MakeBleed(IPluginContext *pContext, const cell_t *params)
|
|||||||
int, // Damage amount
|
int, // Damage amount
|
||||||
bool, // Permanent
|
bool, // Permanent
|
||||||
int> // Custom Damage type (bleeding)
|
int> // Custom Damage type (bleeding)
|
||||||
vstk(obj, pAttacker, NULL, sp_ctof(params[3]), 4, false, 32);
|
vstk(obj, pAttacker, NULL, sp_ctof(params[3]), 4, false, 34);
|
||||||
|
|
||||||
pWrapper->Execute(vstk, nullptr);
|
pWrapper->Execute(vstk, nullptr);
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user