Browse Source

oops, wrong assert

David Rose 24 years ago
parent
commit
70f7803992
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/putil/cycleDataReader.I

+ 1 - 1
panda/src/putil/cycleDataReader.I

@@ -113,7 +113,7 @@ take_pointer() {
   const CycleDataType *pointer = _pointer;
   const CycleDataType *pointer = _pointer;
   _pointer = (CycleDataType *)NULL;
   _pointer = (CycleDataType *)NULL;
   _write_pointer = (CycleDataType *)NULL;
   _write_pointer = (CycleDataType *)NULL;
-  nassertr(_pointer != (const CycleDataType *)NULL, _cycler.cheat());
+  nassertr(pointer != (const CycleDataType *)NULL, _cycler.cheat());
   return pointer;
   return pointer;
 }
 }