瀏覽代碼

oops, wrong assert

David Rose 24 年之前
父節點
當前提交
70f7803992
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 }