summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Wolf.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-17 22:15:34 +0200
committermadmaxoft <github@xoft.cz>2014-07-17 22:15:34 +0200
commit2423fbf2efa39e28cc348acc11b9269e573dcdef (patch)
treece58732c3d16aeef3e68e2c3bdcb372199605312 /src/Mobs/Wolf.cpp
parentFixed spaces around single-line comments. (diff)
downloadcuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar
cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.gz
cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.bz2
cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.lz
cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.xz
cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.tar.zst
cuberite-2423fbf2efa39e28cc348acc11b9269e573dcdef.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Wolf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/Wolf.cpp b/src/Mobs/Wolf.cpp
index e6268abc7..5bb97d30e 100644
--- a/src/Mobs/Wolf.cpp
+++ b/src/Mobs/Wolf.cpp
@@ -36,7 +36,7 @@ bool cWolf::DoTakeDamage(TakeDamageInfo & a_TDI)
{
m_IsAngry = true;
}
- m_World->BroadcastEntityMetadata(*this); // Broadcast health and possibly angry face
+ m_World->BroadcastEntityMetadata(*this); // Broadcast health and possibly angry face
return true;
}
@@ -114,7 +114,7 @@ void cWolf::OnRightClicked(cPlayer & a_Player)
}
case E_ITEM_DYE:
{
- if (a_Player.GetName() == m_OwnerName) // Is the player the owner of the dog?
+ if (a_Player.GetName() == m_OwnerName) // Is the player the owner of the dog?
{
SetCollarColor(15 - a_Player.GetEquippedItem().m_ItemDamage);
if (!a_Player.IsGameModeCreative())
@@ -126,7 +126,7 @@ void cWolf::OnRightClicked(cPlayer & a_Player)
}
default:
{
- if (a_Player.GetName() == m_OwnerName) // Is the player the owner of the dog?
+ if (a_Player.GetName() == m_OwnerName) // Is the player the owner of the dog?
{
SetIsSitting(!IsSitting());
}
@@ -172,7 +172,7 @@ void cWolf::Tick(float a_Dt, cChunk & a_Chunk)
m_World->BroadcastEntityMetadata(*this);
}
- m_FinalDestination = a_Closest_Player->GetPosition(); // So that we will look at a player holding food
+ m_FinalDestination = a_Closest_Player->GetPosition(); // So that we will look at a player holding food
// Don't move to the player if the wolf is sitting.
if (!IsSitting())