summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BlockInfo.cpp')
-rw-r--r--src/BlockInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/BlockInfo.cpp b/src/BlockInfo.cpp
index 5fd6d33c1..c73ae18b6 100644
--- a/src/BlockInfo.cpp
+++ b/src/BlockInfo.cpp
@@ -29,11 +29,11 @@ cBlockInfo::cBlockInfo()
-cBlockInfo & cBlockInfo::GetById(unsigned int a_ID)
+cBlockInfo & cBlockInfo::Get(BLOCKTYPE a_Type)
{
- ASSERT(a_ID < 256);
+ ASSERT(a_Type < 256);
- return ms_Info[a_ID];
+ return ms_Info[a_Type];
}