SaveTool: make the weapon part radio buttons match the game.
This commit is contained in:
parent
c35735b2fc
commit
42b4974b43
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ void SaveTool::drawWeaponEditor(Weapon& weapon) {
|
||||||
_selectedWeaponPart = 0;
|
_selectedWeaponPart = 0;
|
||||||
}
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::RadioButton(std::to_string(i + 1).c_str(), &_selectedWeaponPart, i);
|
ImGui::RadioButton(std::to_string(i).c_str(), &_selectedWeaponPart, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto& part = weapon.parts[_selectedWeaponPart];
|
auto& part = weapon.parts[_selectedWeaponPart];
|
||||||
|
|
Loading…
Reference in a new issue