forked from Mirrors/openclonk
show exit interaction when inside object (#1169)
parent
d1577dce61
commit
15f75f072b
|
@ -434,11 +434,15 @@ public func UpdateSelectionStatus()
|
|||
return;
|
||||
}
|
||||
else if(actiontype == ACTIONTYPE_VEHICLE)
|
||||
{
|
||||
if(crew->GetProcedure() == "PUSH" && crew->GetActionTarget() == myobject)
|
||||
sel = 1;
|
||||
}
|
||||
else if(actiontype == ACTIONTYPE_STRUCTURE)
|
||||
{
|
||||
if(crew->Contained() == myobject)
|
||||
sel = 1;
|
||||
}
|
||||
else if(actiontype == ACTIONTYPE_INVENTORY)
|
||||
{
|
||||
if(0 == position)
|
||||
|
|
Loading…
Reference in New Issue