diff options
| author | robojumper <robojumper@gmail.com> | 2024-11-22 21:30:35 +0100 |
|---|---|---|
| committer | robojumper <robojumper@gmail.com> | 2024-11-22 21:30:35 +0100 |
| commit | d70141b14b9070d1421a672f89f82290856590a5 (patch) | |
| tree | 664545bc04743616fd5a6a3448ca0131d8935dc8 /src/c | |
| parent | ee64481b9ca7b80978d93aa717d09f861da2308a (diff) | |
Decompile the ColliderLinkedList stuff too
Diffstat (limited to 'src/c')
| -rw-r--r-- | src/c/c_list.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/c/c_list.cpp b/src/c/c_list.cpp index 61929a5f..fe0330e9 100644 --- a/src/c/c_list.cpp +++ b/src/c/c_list.cpp @@ -74,3 +74,9 @@ void cListMg_c::prepend(cListNd_c *node) { } this->mpFirst = node; } + +void cListMg_c::clear() { + while (mpFirst != nullptr) { + remove(mpFirst); + } +} |
