Index: source/Pawn.cpp =================================================================== --- source/Pawn.cpp (révision 1630) +++ source/Pawn.cpp (copie de travail) @@ -292,7 +292,7 @@ { CheckMetaDataBurn(a_Chunk); // Check to see if pawn should burn based on block they are on - if (IsBurning()) + if (IsOnFire()) { InStateBurning(a_Dt); } @@ -334,6 +334,7 @@ (IsBlockWater(Block) || IsBlockWater(BlockAbove) || IsBlockWater(BlockBelow)) ) { + SetMetaData(NORMAL); } else if ( Index: source/Mobs/Skeleton.cpp =================================================================== --- source/Mobs/Skeleton.cpp (révision 1630) +++ source/Mobs/Skeleton.cpp (copie de travail) @@ -22,7 +22,7 @@ // TODO Outsource // TODO should do SkyLight check, mobs in the dark don´t burn - if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && !IsBurning()) + if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && !IsOnFire()) { SetMetaData(BURNING); // BURN, BABY, BURN! >:D } Index: source/Mobs/Zombiepigman.cpp =================================================================== --- source/Mobs/Zombiepigman.cpp (révision 1630) +++ source/Mobs/Zombiepigman.cpp (copie de travail) @@ -21,7 +21,7 @@ super::Tick(a_Dt, a_Chunk); // TODO Same as noticed in cSkeleton AND Do they really burn by sun?? :D In the neather is no sun :D - if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && !IsBurning()) + if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && !IsOnFire()) { SetMetaData(BURNING); // BURN, BABY, BURN! >:D } Index: source/Mobs/Squid.cpp =================================================================== --- source/Mobs/Squid.cpp (révision 1630) +++ source/Mobs/Squid.cpp (copie de travail) @@ -35,7 +35,7 @@ Vector3d Pos = GetPosition(); // TODO: Not a real behavior, but cool :D - if (!IsBlockWater(GetWorld()->GetBlock((int) Pos.x, (int) Pos.y, (int) Pos.z)) && !IsBurning()) + if (!IsBlockWater(GetWorld()->GetBlock((int) Pos.x, (int) Pos.y, (int) Pos.z)) && !IsOnFire()) { SetMetaData(BURNING); } Index: source/Mobs/Zombie.cpp =================================================================== --- source/Mobs/Zombie.cpp (révision 1630) +++ source/Mobs/Zombie.cpp (copie de travail) @@ -21,7 +21,7 @@ super::Tick(a_Dt, a_Chunk); // TODO Same as in cSkeleton :D - if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && !IsBurning()) + if ((GetWorld()->GetTimeOfDay() < (12000 + 1000)) && !IsOnFire()) { SetMetaData(BURNING); // BURN, BABY, BURN! >:D } Index: source/Pawn.h =================================================================== --- source/Pawn.h (révision 1630) +++ source/Pawn.h (copie de travail) @@ -157,7 +157,7 @@ virtual void SetMaxHealth(short a_MaxHealth); virtual short GetMaxHealth() { return m_MaxHealth; } - bool IsBurning(void) const { return (m_MetaData == BURNING); } + virtual bool IsOnFire(void) const { return (m_MetaData == BURNING); } protected: short m_Health;