Removed unused code
This commit is contained in:
parent
fca5a01145
commit
114b14faad
@ -55,7 +55,6 @@ void cItemFrame::KilledBy(TakeDamageInfo & a_TDI)
|
|||||||
{
|
{
|
||||||
if (m_Item.IsEmpty())
|
if (m_Item.IsEmpty())
|
||||||
{
|
{
|
||||||
SetHealth(0);
|
|
||||||
super::KilledBy(a_TDI);
|
super::KilledBy(a_TDI);
|
||||||
Destroy();
|
Destroy();
|
||||||
return;
|
return;
|
||||||
|
@ -75,7 +75,7 @@ public:
|
|||||||
int FoodLevel;
|
int FoodLevel;
|
||||||
double Saturation;
|
double Saturation;
|
||||||
|
|
||||||
FoodInfo(int a_FoodLevel, double a_Saturation, int a_PoisonChance = 0) :
|
FoodInfo(int a_FoodLevel, double a_Saturation) :
|
||||||
FoodLevel(a_FoodLevel),
|
FoodLevel(a_FoodLevel),
|
||||||
Saturation(a_Saturation)
|
Saturation(a_Saturation)
|
||||||
{
|
{
|
||||||
|
@ -615,7 +615,6 @@ void cNBTChunkSerializer::AddProjectileEntity(cProjectileEntity * a_Projectile)
|
|||||||
{
|
{
|
||||||
m_Writer.BeginCompound("");
|
m_Writer.BeginCompound("");
|
||||||
AddBasicEntity(a_Projectile, a_Projectile->GetMCAClassName());
|
AddBasicEntity(a_Projectile, a_Projectile->GetMCAClassName());
|
||||||
Vector3d Pos = a_Projectile->GetPosition();
|
|
||||||
m_Writer.AddByte("inGround", a_Projectile->IsInGround() ? 1 : 0);
|
m_Writer.AddByte("inGround", a_Projectile->IsInGround() ? 1 : 0);
|
||||||
|
|
||||||
switch (a_Projectile->GetProjectileKind())
|
switch (a_Projectile->GetProjectileKind())
|
||||||
|
Loading…
Reference in New Issue
Block a user