Merge pull request #671 from ottools/master

Fix #664
This commit is contained in:
Sam 2015-07-05 18:34:54 +02:00
commit 0642fb66cd
1 changed files with 1 additions and 1 deletions

View File

@ -244,12 +244,12 @@ void ThingType::unserialize(uint16 clientId, ThingCategory category, const FileS
m_attribs.set(attr, market); m_attribs.set(attr, market);
break; break;
} }
case ThingAttrUsable:
case ThingAttrElevation: { case ThingAttrElevation: {
m_elevation = fin->getU16(); m_elevation = fin->getU16();
m_attribs.set(attr, m_elevation); m_attribs.set(attr, m_elevation);
break; break;
} }
case ThingAttrUsable:
case ThingAttrGround: case ThingAttrGround:
case ThingAttrWritable: case ThingAttrWritable:
case ThingAttrWritableOnce: case ThingAttrWritableOnce: