Skip to content

Commit

Permalink
Minor improvment
Browse files Browse the repository at this point in the history
  • Loading branch information
obligaron committed Feb 11, 2024
1 parent 38e98fb commit 020e408
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/items.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4576,7 +4576,8 @@ void PutItemRecord(uint32_t nSeed, uint16_t wCI, int nIndex)
std::mt19937 BetterRng;
std::string DebugSpawnItem(std::string itemName)
{
if (ActiveItemCount >= MAXITEMS) return "No space to generate the item!";
if (ActiveItemCount >= MAXITEMS)
return "No space to generate the item!";

const int max_time = 3000;
const int max_iter = 1000000;
Expand Down

0 comments on commit 020e408

Please sign in to comment.