fix off by one error (#3296)
This commit is contained in:
parent
fca25336cc
commit
50da01eb22
@ -153,7 +153,7 @@ namespace big
|
||||
|
||||
if (ImGui::BeginCombo("BLOCK_JOIN_ALERT"_T.data(), block_join_reasons[current_player->block_join_reason]))
|
||||
{
|
||||
block_join_reason_t i = block_join_reason_t::None;
|
||||
block_join_reason_t i = block_join_reason_t::UNK_0;
|
||||
for (const auto& reason_str : block_join_reasons)
|
||||
{
|
||||
if (reason_str != "")
|
||||
|
@ -28,7 +28,7 @@ namespace big
|
||||
if (reaction.block_joins)
|
||||
if (ImGui::BeginCombo("BLOCK_JOIN_ALERT"_T.data(), block_join_reasons[reaction.block_join_reason]))
|
||||
{
|
||||
block_join_reason_t i = block_join_reason_t::None;
|
||||
block_join_reason_t i = block_join_reason_t::UNK_0;
|
||||
for (const auto& reason_str : block_join_reasons)
|
||||
{
|
||||
if (reason_str != "")
|
||||
@ -73,7 +73,7 @@ namespace big
|
||||
if (reaction.block_joins)
|
||||
if (ImGui::BeginCombo("BLOCK_JOIN_ALERT"_T.data(), block_join_reasons[reaction.block_join_reason]))
|
||||
{
|
||||
block_join_reason_t i = block_join_reason_t::None;
|
||||
block_join_reason_t i = block_join_reason_t::UNK_0;
|
||||
for (const auto& reason_str : block_join_reasons)
|
||||
{
|
||||
if (reason_str != "")
|
||||
|
Reference in New Issue
Block a user