Explorar el Código

oops, wrong assert

David Rose hace 24 años
padre
commit
70f7803992
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
   _pointer = (CycleDataType *)NULL;
   _write_pointer = (CycleDataType *)NULL;
-  nassertr(_pointer != (const CycleDataType *)NULL, _cycler.cheat());
+  nassertr(pointer != (const CycleDataType *)NULL, _cycler.cheat());
   return pointer;
 }