From a459f578fa6926f4ca41cced448fbe92d0fba3b5 Mon Sep 17 00:00:00 2001 From: connorr Date: Mon, 5 Aug 2013 19:00:51 +0200 Subject: [PATCH] Set set_user_rendering default color/amount to 0 to follow game behavior (bug 5772, r=arkshine) Former-commit-id: b9d6327829da6da96ea32a1a8bb428cb816c23f4 --- plugins/include/fun.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/fun.inc b/plugins/include/fun.inc index d1766669..3dd9f750 100755 --- a/plugins/include/fun.inc +++ b/plugins/include/fun.inc @@ -42,7 +42,7 @@ native set_user_health(index, health); native set_user_origin(index, const origin[3]); /* Sets player rendering mode. */ -native set_user_rendering(index, fx = kRenderFxNone, r = 255, g = 255, b = 255, render = kRenderNormal, amount = 16); +native set_user_rendering(index, fx = kRenderFxNone, r = 0, g = 0, b = 0, render = kRenderNormal, amount = 0); /* Gives item to player, name of item can start * with weapon_, ammo_ and item_. This event