forked from Mirrors/openclonk
Trunk2: Move main trunk along with front in editor mode.
Otherwise, it's impossible to move the trunk because selection is always blocked by the front.Controls
parent
324e89a069
commit
25e76ed60f
|
@ -23,6 +23,13 @@ private func CheckPosition()
|
|||
SetPosition(back->GetX(), back->GetY());
|
||||
}
|
||||
|
||||
func EditCursorMoved()
|
||||
{
|
||||
// Move main trunk along with front in editor mode
|
||||
if (back) back->SetPosition(GetX(), GetY());
|
||||
return true;
|
||||
}
|
||||
|
||||
func SaveScenarioObject() { return false; }
|
||||
|
||||
local Plane = 505;
|
Loading…
Reference in New Issue