MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / map_change_spot_ser

Function map_change_spot_ser

ogsr_engine/xrGame/level_script.cpp:272–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void map_change_spot_ser(u16 id, LPCSTR spot_type, BOOL v)
273{
274 CMapLocation* ml = Level().MapManager().GetMapLocation(spot_type, id);
275 if (!ml)
276 return;
277 ml->SetSerializable(!!v);
278}
279
280void prefetch_many_sounds( LPCSTR prefix ) {
281 Level().PrefetchManySoundsLater( prefix );

Callers

nothing calls this directly

Calls 2

GetMapLocationMethod · 0.80
SetSerializableMethod · 0.80

Tested by

no test coverage detected