mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 06:13:45 -07:00
fix off by one
This commit is contained in:
parent
9af7762785
commit
a6c3a1f446
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue