Exposed third parameter of TF2's AddCond in TF2_AddCondition (bug 5641, r=psychonic).

This commit is contained in:
FlaminSarge
2013-03-16 18:05:22 -04:00
parent 707e820af6
commit 093f8cb89b
2 changed files with 11 additions and 3 deletions
+2 -1
View File
@@ -202,10 +202,11 @@ native TF2_RegeneratePlayer(client);
* @param client Player's index.
* @param condition Integer identifier of condition to apply.
* @param duration Duration of condition (does not apply to all conditions).
* @param inflictor Condition inflictor's index (0 for no inflictor).
* @noreturn
* @error Invalid client index, client not in game, or no mod support.
*/
native TF2_AddCondition(client, TFCond:condition, Float:duration);
native TF2_AddCondition(client, TFCond:condition, Float:duration, inflictor=0);
/**
* Removes a condition from a player