engine: fix loading static prop lump version 7
This commit is contained in:
parent
265a4f171b
commit
1f9aba1a40
1 changed files with 2 additions and 2 deletions
|
@ -1339,7 +1339,6 @@ void CStaticPropMgr::UnserializeModels( CUtlBuffer& buf )
|
|||
case 5: UnserializeLump<StaticPropLumpV5_t>(&lump, buf); break;
|
||||
case 6: UnserializeLump<StaticPropLumpV6_t>(&lump, buf); break;
|
||||
case 7: // Falls down to version 10. We promoted TF to version 10 to deal with SFM.
|
||||
case 9: UnserializeLump<StaticPropLumpV9_t>(&lump, buf); break;
|
||||
case 10:
|
||||
{
|
||||
if( s_MapVersion == 21 )
|
||||
|
@ -1348,7 +1347,8 @@ void CStaticPropMgr::UnserializeModels( CUtlBuffer& buf )
|
|||
UnserializeLump<StaticPropLumpV10_t>(&lump, buf);
|
||||
break;
|
||||
}
|
||||
case 11: UnserializeLump<StaticPropLumpV11_t>(&lump, buf);
|
||||
case 9: UnserializeLump<StaticPropLumpV9_t>(&lump, buf); break;
|
||||
case 11: UnserializeLump<StaticPropLumpV11_t>(&lump, buf); break;
|
||||
default:
|
||||
Assert("Unexpected version while deserializing lumps.");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue