-
-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PagedEntityContainer: add
ReuseSlots
boolean template parameter
This allows to disable slot reuse in `PagedEntityContainer`. The feature is temporary and will be used only until we are confident that we don't have any issues in the WZ code base regarding object pointers not updated properly, e.g. when transitioning between the base and offworld missions. So, it's to prevent cases where one object would be overwritten by another and the game code haven't noticed that. It's better to crash/assert rather than silently use one object instead of another, which could lead to unobvious and weird bugs. Signed-off-by: Pavel Solodovnikov <[email protected]>
- Loading branch information
Showing
1 changed file
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters