Initial on screen stats support

This commit is contained in:
Robert Osfield
2007-01-21 18:24:54 +00:00
parent d3ce4825d8
commit b47ef11d74
12 changed files with 444 additions and 186 deletions

View File

@@ -74,7 +74,7 @@ bool Stats::getAttribute(int frameNumber, const std::string& attributeName, doub
const AttributeMap& attributeMap = _attributeMapList[index];
AttributeMap::const_iterator itr = attributeMap.find(attributeName);
if (itr != attributeMap.end()) return false;
if (itr == attributeMap.end()) return false;
value = itr->second;
return true;