From a6c3a1f446bd877275ae57d068631b9b209e5f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Wed, 11 Jun 2025 13:45:51 +0000 Subject: [PATCH] fix off by one --- soh/soh/Enhancements/TreesDropSticks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/TreesDropSticks.cpp b/soh/soh/Enhancements/TreesDropSticks.cpp index b31f7c733..7fdc4eb0a 100644 --- a/soh/soh/Enhancements/TreesDropSticks.cpp +++ b/soh/soh/Enhancements/TreesDropSticks.cpp @@ -15,7 +15,7 @@ void RegisterTreesDropSticks() { dropsSpawnPt.y += 200.0f; *should = false; - for (s32 numDrops = Rand_Next() % 4; numDrops >= 0; numDrops--) { + for (s32 numDrops = Rand_Next() % 4; numDrops > 0; numDrops--) { Item_DropCollectible(gPlayState, &dropsSpawnPt, ITEM00_STICK); } }