diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-12 12:38:29 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-12 12:39:00 -0400 |
commit | 0b509743fd75f7e7b524f1f60e15f030782fe4c6 (patch) | |
tree | d4aa82405f8cd876e1a2367e27b2345801a87836 | |
parent | 6b0b68e01a29f8c5c3a709ad57219e687b75d248 (diff) |
TObject: Correct typos in `remove_parent()`
That was so cursed, how did I not see this earlier.
-rw-r--r-- | include/pso/TObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h index e259487..797218c 100644 --- a/include/pso/TObject.h +++ b/include/pso/TObject.h @@ -145,10 +145,10 @@ private: if (m_prev == this) { m_up->m_down = NULL; } else if (m_up->m_down == this) { - m_up->m_down = m_prev; + m_up->m_down = m_next; m_prev->m_next = NULL; if (m_next != NULL) { - m_next->m_prev = m_next; + m_next->m_prev = m_prev; } } else { m_prev->m_next = m_next; |