workaround for ebo binding issues, do not enable ai vehicles automatically on map

This commit is contained in:
milek7
2020-10-21 00:45:19 +02:00
parent df87b37b5b
commit 6af6f5156d
4 changed files with 22 additions and 9 deletions

View File

@@ -640,11 +640,6 @@ ui::vehicle_click_window::vehicle_click_window(ui_panel &panel, std::shared_ptr<
void ui::vehicle_click_window::render_content()
{
if (!m_vehicle->dynobj->MoverParameters->Battery) {
std::string name_enable = m_vehicle->name + "%Prepare_engine";
m_relay.post(user_command::sendaicommand, 1.0, 1.0, GLFW_PRESS, 0, glm::vec3(), &name_enable);
}
ImGui::TextUnformatted(STR_C("Light signal:"));
if (ImGui::Button(STR_C("none"))) {