From 020e4084181ba57c20a91c03ec7b40a2b68e6731 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;