fix off by one

This commit is contained in:
Philip Dubé 2025-06-11 13:45:51 +00:00 committed by GitHub
commit a6c3a1f446
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}
}