mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
engine: fix loading static prop lump version 7
This commit is contained in:
parent
7f267853f4
commit
02a3c641a6
@ -1339,7 +1339,6 @@ void CStaticPropMgr::UnserializeModels( CUtlBuffer& buf )
|
|||||||
case 5: UnserializeLump<StaticPropLumpV5_t>(&lump, buf); break;
|
case 5: UnserializeLump<StaticPropLumpV5_t>(&lump, buf); break;
|
||||||
case 6: UnserializeLump<StaticPropLumpV6_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 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:
|
case 10:
|
||||||
{
|
{
|
||||||
if( s_MapVersion == 21 )
|
if( s_MapVersion == 21 )
|
||||||
@ -1348,7 +1347,8 @@ void CStaticPropMgr::UnserializeModels( CUtlBuffer& buf )
|
|||||||
UnserializeLump<StaticPropLumpV10_t>(&lump, buf);
|
UnserializeLump<StaticPropLumpV10_t>(&lump, buf);
|
||||||
break;
|
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:
|
default:
|
||||||
Assert("Unexpected version while deserializing lumps.");
|
Assert("Unexpected version while deserializing lumps.");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user