summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2019-10-20 21:31:21 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2020-02-11 12:04:41 +0100
commite38ae8d7e4407722e1b8d2b7caf49052f2f9174b (patch)
treea873a70b693f541fd835111fcda6bffcbc08bdf0 /modules
parenta8e14bee58ea3a7404eabc3687cb11ef778497a3 (diff)
Fix bugs in `RID_Alloc`
- Replace unintended `%` with `&` - `get_owned_list()`: make thread-safe and fix logic - Apply same logic fix to the destructor Previously, the determination of owned RIDs was wrong. For instance, it could skip owned items or include duplicates in the list. Avoids the engine crashing at exit.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions