Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch
PROJECTILE
to use PagedEntityContainer<PROJECTILE>
as back…
…ing storage The game still uses `psProjectileList` to maintain stable and predictable order of iteration for projectiles, but the individual `PROJECTILE` instances are allocated from the global `PagedEntityContainer<PROJECTILE>` instance. Optimize `proj_UpdateAll()` by removing additional checks inside the tight loop, which enumerates all projectiles currently in play, thus considerably speeding up this frequent and expensive operation. Signed-off-by: Pavel Solodovnikov <[email protected]>
- Loading branch information