Scripts/HoO: updated Lift of the Makers console to new transport handling

This commit is contained in:
Ovahlord
2022-06-19 18:16:01 +02:00
parent 786131a162
commit edc3940f37

View File

@@ -784,14 +784,8 @@ struct go_hoo_the_makers_lift_controller : public GameObjectAI
if (!elevator)
return true;
elevator->SetGoState(GOState(GO_STATE_TRANSPORT_STOPPED + action));
elevator->SetGoState(GOState(GO_STATE_TRANSPORT_ACTIVE + action));
/*
if (action == 0 && elevator->GetGoState() >= GO_STATE_TRANSPORT_ACTIVE + 2)
elevator->SetTransportState(GO_STATE_TRANSPORT_ACTIVE);
else
elevator->SetTransportState(GO_STATE_TRANSPORT_STOPPED, action);
*/
return true;
}
};