diff options
author | Mattes D <github@xoft.cz> | 2015-05-09 13:22:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-09 13:22:59 +0200 |
commit | ca949447eefe74804e677fff5a46a1f18a826901 (patch) | |
tree | 911736baccf3617a13f6b7e04ebbfe3fe035fb50 /src/Scoreboard.cpp | |
parent | Rabbit and cooked rabbit now stackable (diff) | |
parent | Added check against "Type const &" and "Type const *". (diff) | |
download | cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.gz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.bz2 cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.lz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.xz cuberite-ca949447eefe74804e677fff5a46a1f18a826901.tar.zst cuberite-ca949447eefe74804e677fff5a46a1f18a826901.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Scoreboard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Scoreboard.cpp b/src/Scoreboard.cpp index adce8b549..a4a4c3391 100644 --- a/src/Scoreboard.cpp +++ b/src/Scoreboard.cpp @@ -286,7 +286,7 @@ cScoreboard::cScoreboard(cWorld * a_World) : m_World(a_World) -cObjective* cScoreboard::RegisterObjective(const AString & a_Name, const AString & a_DisplayName, cObjective::eType a_Type) +cObjective * cScoreboard::RegisterObjective(const AString & a_Name, const AString & a_DisplayName, cObjective::eType a_Type) { cObjective Objective(a_Name, a_DisplayName, a_Type, m_World); @@ -471,7 +471,7 @@ cObjective * cScoreboard::GetObjectiveIn(eDisplaySlot a_Slot) -bool cScoreboard::ForEachObjectiveWith(cObjective::eType a_Type, cObjectiveCallback& a_Callback) +bool cScoreboard::ForEachObjectiveWith(cObjective::eType a_Type, cObjectiveCallback & a_Callback) { cCSLock Lock(m_CSObjectives); @@ -493,7 +493,7 @@ bool cScoreboard::ForEachObjectiveWith(cObjective::eType a_Type, cObjectiveCallb -bool cScoreboard::ForEachObjective(cObjectiveCallback& a_Callback) +bool cScoreboard::ForEachObjective(cObjectiveCallback & a_Callback) { cCSLock Lock(m_CSObjectives); @@ -512,7 +512,7 @@ bool cScoreboard::ForEachObjective(cObjectiveCallback& a_Callback) -bool cScoreboard::ForEachTeam(cTeamCallback& a_Callback) +bool cScoreboard::ForEachTeam(cTeamCallback & a_Callback) { cCSLock Lock(m_CSTeams); |