Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ CloneObject
Method
CloneObject
src/script/api/script_tilelist.cpp:26–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
}
25
26
ScriptObject *ScriptTileList::CloneObject()
27
{
28
ScriptTileList *clone = new ScriptTileList();
29
clone->CopyList(this);
30
return clone;
31
}
32
33
void ScriptTileList::AddRectangle(TileIndex t1, TileIndex t2)
34
{
Callers
nothing calls this directly
Calls
1
CopyList
Method · 0.80
Tested by
no test coverage detected