summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/JSystem/J3DGraphBase/J3DTexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DTexture.h b/include/JSystem/J3DGraphBase/J3DTexture.h
index da8276e767..f179764e9b 100644
--- a/include/JSystem/J3DGraphBase/J3DTexture.h
+++ b/include/JSystem/J3DGraphBase/J3DTexture.h
@@ -19,7 +19,7 @@ private:
public:
J3DTexture(u16 num, ResTIMG* res) : mNum(num), unk_0x2(0), mpRes(res) {
- J3D_ASSERT_NULLPTR(52, res && num);
+ J3D_ASSERT_NULLPTR(52, res != NULL || num == 0);
}
void loadGX(u16, GXTexMapID) const;