plugins/include/entity_prop_stocks.inc
changeset 1828 0df571678652
parent 1826 a9f05d8aedf2
child 1834 74d7a2edeb49
     1.1 --- a/plugins/include/entity_prop_stocks.inc	Fri Dec 28 16:46:42 2007 +0000
     1.2 +++ b/plugins/include/entity_prop_stocks.inc	Mon Dec 31 01:47:33 2007 +0000
     1.3 @@ -155,8 +155,8 @@
     1.4   */
     1.5  stock SetEntityHealth(index, amount)
     1.6  {
     1.7 -	SetEntProp(client, Prop_Send, "m_iHealth", health, 1)
     1.8 -	SetEntProp(client, Prop_Data, "m_iHealth", health, 1)
     1.9 +	SetEntProp(client, Prop_Send, "m_iHealth", amount, 4)
    1.10 +	SetEntProp(client, Prop_Data, "m_iHealth", amount, 4)
    1.11  }
    1.12  
    1.13  /**