Feat vehicle gun improv (#291)

This commit is contained in:
Quentin E. / iDeath
2022-06-27 15:59:25 +02:00
committed by GitHub
parent 747af10277
commit a64f016412
2 changed files with 48 additions and 32 deletions

View File

@ -89,10 +89,12 @@ namespace big
switch (selected)
{
case CustomWeapon::VEHICLE_GUN:
ImGui::Text("Shooting Model:");
ImGui::InputText("##vehicle_gun_model", g->weapons.vehicle_gun_model, 12);
components::input_text_with_hint(
"Shooting Model",
"Name of the vehicle model",
g->weapons.vehicle_gun_model, sizeof(g->weapons.vehicle_gun_model));
break;
}
}
}
}