MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / LoadEmpty

Method LoadEmpty

src/script/script_instance.cpp:723–730  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

721}
722
723/* static */ void ScriptInstance::LoadEmpty()
724{
725 SlObject(nullptr, _script_byte);
726 /* Check if there was anything saved at all. */
727 if (_script_sl_byte == 0) return;
728
729 LoadObjects(nullptr);
730}
731
732/* static */ ScriptInstance::ScriptData *ScriptInstance::Load(int version)
733{

Callers

nothing calls this directly

Calls 1

SlObjectFunction · 0.85

Tested by

no test coverage detected