CookiePLMonster / SilentPatch

SilentPatch for GTA III, Vice City, and San Andreas
MIT License
395 stars 15 forks source link

Money/one-time pickups leak objects if the pickup pool is exhausted #21

Closed CookiePLMonster closed 1 month ago

CookiePLMonster commented 8 months ago

in CPickups::GenerateNewOne if there's no free pickup slots it searches for either existing PICKUP_MONEY or PICKUP_ONCE_TIMEOUT to replace it with a new pickup, but doesn't do CWorld::Remove on the object and it doesn't remove it from the pool

CookiePLMonster commented 6 months ago

Only GTA III is affected, Rockstar fixed this in VC/SA.