From 3c297f5d1ddadd84ec5edf86be62635c1a7bae06 Mon Sep 17 00:00:00 2001 From: FlaminSarge Date: Sat, 3 Sep 2011 14:11:38 -0400 Subject: [PATCH] Fixed typo in tf2_stocks (persistant -> persistent) (bug 5074, r=psychonic). --- plugins/include/tf2_stocks.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/include/tf2_stocks.inc b/plugins/include/tf2_stocks.inc index 9f3b2ad4..4fe72916 100644 --- a/plugins/include/tf2_stocks.inc +++ b/plugins/include/tf2_stocks.inc @@ -303,15 +303,15 @@ stock TFClassType:TF2_GetPlayerClass(client) * @param client Player's index. * @param class TFClassType class symbol. * @param weapons This paramater is ignored. - * @param persistant If true changes the players desired class so the change stays after death. + * @param persistent If true changes the players desired class so the change stays after death. * @noreturn * @error Invalid client index. */ -stock TF2_SetPlayerClass(client, TFClassType:class, bool:weapons=true, bool:persistant=true) +stock TF2_SetPlayerClass(client, TFClassType:class, bool:weapons=true, bool:persistent=true) { SetEntProp(client, Prop_Send, "m_iClass", _:class); - if (persistant) + if (persistent) { SetEntProp(client, Prop_Send, "m_iDesiredPlayerClass", _:class); }