bad bug in tree class fixed, working on mac
[feisty_meow.git] / nucleus / library / nodes / tree.cpp
index 59ca5d70cc3cae4b1c337e2ea45880cab53859b4..2a88061cada797e432fc2108d0c4874395db22e7 100644 (file)
@@ -306,7 +306,7 @@ tree::~tree()
     // or there are no kids at all.
     curr_node = curr_node->branch(0);
 
-    if (curr_node = NULL_POINTER) {
+    if (curr_node == NULL_POINTER) {
       // wayback has no children, so we can take action.
 
       // if wayback is the same as "this", then we exit from iterations since