2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:07:42 +00:00

CSortedLists: Remove use of const_cast in AddToLinkedList()

Same behavior, but nicer to read.
This commit is contained in:
Lioncash
2020-03-29 21:09:30 -04:00
parent 6d2ef0360f
commit eecd03428d
2 changed files with 8 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ class CSortedListManager {
std::array<SNode, 1024> x0_nodes;
std::array<SSortedList, 6> xb000_sortedLists;
void Reset();
void AddToLinkedList(s16 a, s16& b, s16& c) const;
void AddToLinkedList(s16 a, s16& b, s16& c);
void RemoveFromList(ESortedList, s16);
void MoveInList(ESortedList, s16);
void InsertInList(ESortedList, SNode& node);