summaryrefslogtreecommitdiffstats
path: root/src/Statistics.cpp
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-05-11 19:30:54 +0200
committerandrew <xdotftw@gmail.com>2014-05-11 19:30:54 +0200
commite3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c (patch)
tree36e303c31006c346aaf895cdb631ff60dd9cdca6 /src/Statistics.cpp
parentStatistic Manager (diff)
downloadcuberite-e3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c.tar
cuberite-e3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c.tar.gz
cuberite-e3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c.tar.bz2
cuberite-e3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c.tar.lz
cuberite-e3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c.tar.xz
cuberite-e3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c.tar.zst
cuberite-e3c6c8f3ddffdc368ebbc1a7688de2ca1b97167c.zip
Diffstat (limited to 'src/Statistics.cpp')
-rw-r--r--src/Statistics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Statistics.cpp b/src/Statistics.cpp
index 94076f828..65addb0dd 100644
--- a/src/Statistics.cpp
+++ b/src/Statistics.cpp
@@ -114,7 +114,7 @@ eStatistic cStatInfo::GetType(const AString & a_Name)
{
for (unsigned int i = 0; i < ARRAYCOUNT(ms_Info); ++i)
{
- if (NoCaseCompare(ms_Info[i].m_Name, a_Name))
+ if (NoCaseCompare(ms_Info[i].m_Name, a_Name) == 0)
{
return ms_Info[i].m_Type;
}