From 89c16a123169a8cce1501fb412b8038e14fadf9e Mon Sep 17 00:00:00 2001 From: obligaron Date: Wed, 7 Feb 2024 23:17:58 +0100 Subject: [PATCH] Minor improvment --- Source/items.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/items.cpp b/Source/items.cpp index f136bff40df8..0d15747f88cf 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -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;