From 38718f4865f36c3fc5cd0e92f310c8bf706352f7 Mon Sep 17 00:00:00 2001 From: Simon Jackson Date: Fri, 11 Jun 2010 00:31:09 +0800 Subject: [PATCH] Stupid mistake was stupid --- library/DFMemInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/DFMemInfo.cpp b/library/DFMemInfo.cpp index ff748b738..22969a56c 100644 --- a/library/DFMemInfo.cpp +++ b/library/DFMemInfo.cpp @@ -312,8 +312,8 @@ void memory_info::setLevel(const std::string &nLevel, { uint32_t keyInt = strtol(nLevel.c_str(), NULL, 10); - if(d->skills.size() <= keyInt) - d->skills.resize(keyInt+1); + if(d->levels.size() <= keyInt) + d->levels.resize(keyInt+1); d->levels[keyInt].level = keyInt; d->levels[keyInt].name = nName;