Set set_user_rendering default color/amount to 0 to follow game behavior (bug 5772, r=arkshine)

Former-commit-id: b9d6327829da6da96ea32a1a8bb428cb816c23f4
This commit is contained in:
connorr 2013-08-05 19:00:51 +02:00
parent 98f8602c59
commit a459f578fa

View File

@ -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