Fix missing break in switch statement

openmw-38
Stanislav Bas 10 years ago
parent daaff1284e
commit 9a8ca81907

@ -22,7 +22,6 @@ namespace ESM
mId = esm.getHString(); mId = esm.getHString();
hasName = true; hasName = true;
break; break;
break;
case ESM::FourCC<'F','N','A','M'>::value: case ESM::FourCC<'F','N','A','M'>::value:
mName = esm.getHString(); mName = esm.getHString();
break; break;
@ -69,6 +68,7 @@ namespace ESM
case ESM::FourCC<'D','E','L','E'>::value: case ESM::FourCC<'D','E','L','E'>::value:
esm.skipHSub(); esm.skipHSub();
isDeleted = true; isDeleted = true;
break;
default: default:
esm.fail("Unknown subrecord"); esm.fail("Unknown subrecord");
break; break;

Loading…
Cancel
Save