Pickups have an initial health of 5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1668 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
9214a134ca
commit
a40585ec99
@ -31,8 +31,8 @@ cPickup::cPickup(int a_MicroPosX, int a_MicroPosY, int a_MicroPosZ, const cItem
|
|||||||
, m_Item(a_Item)
|
, m_Item(a_Item)
|
||||||
, m_bCollected( false )
|
, m_bCollected( false )
|
||||||
{
|
{
|
||||||
m_MaxHealth = 1;
|
m_MaxHealth = 5;
|
||||||
m_Health = 1;
|
m_Health = 5;
|
||||||
SetSpeed(a_SpeedX, a_SpeedY, a_SpeedZ);
|
SetSpeed(a_SpeedX, a_SpeedY, a_SpeedZ);
|
||||||
m_Gravity = -3.0;
|
m_Gravity = -3.0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user