Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ OnPlaceObjectAbort
Method
OnPlaceObjectAbort
src/tree_gui.cpp:246–250 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
244
}
245
246
void OnPlaceObjectAbort() override
247
{
248
this->tree_to_plant = -1;
249
this->UpdateMode();
250
}
251
};
252
253
/**
Callers
nothing calls this directly
Calls
1
UpdateMode
Method · 0.95
Tested by
no test coverage detected