Skip to content

Commit

Permalink
xrGame/inventory_upgrade_manager.cpp: throw error if an upgrade not f…
Browse files Browse the repository at this point in the history
…ound by grid index
  • Loading branch information
ChugunovRoman committed Dec 2, 2024
1 parent 259af96 commit a29c62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/inventory_upgrade_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ LPCSTR Manager::get_upgrade_by_index(CInventoryItem& item, Ivector2 const& index
}
}

VERIFY2(upgrade, make_string("! Upgrade with index <%d,%d> in inventory item [%s] does not exist!", index.x,
R_ASSERT2(upgrade, make_string("! Upgrade with index <%d,%d> in inventory item [%s] does not exist!", index.x,
index.y, item.m_section_id.c_str()));
return NULL;
}
Expand Down

0 comments on commit a29c62d

Please sign in to comment.