summaryrefslogtreecommitdiff
path: root/include/JSystem
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-07-21 02:57:50 +0300
committerGitHub <noreply@github.com>2025-07-20 16:57:50 -0700
commit69aaeeeda68b8ca4714daf4e9dd0e800c918867a (patch)
tree2af9e56454aa7f58071695853e596dfae101847f /include/JSystem
parentd9ac8d7e3f24abe6a21ebe8018621401e9f355d3 (diff)
d_a_obj_tobyhouse equivalent (#2546)
Diffstat (limited to 'include/JSystem')
-rw-r--r--include/JSystem/J3DGraphAnimator/J3DJoint.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DJoint.h b/include/JSystem/J3DGraphAnimator/J3DJoint.h
index d5854e996f..ccd676967a 100644
--- a/include/JSystem/J3DGraphAnimator/J3DJoint.h
+++ b/include/JSystem/J3DGraphAnimator/J3DJoint.h
@@ -28,7 +28,10 @@ public:
virtual void calc() = 0;
static J3DMtxBuffer* getMtxBuffer() { return mMtxBuffer; }
- static J3DJoint* getJoint() { return mJoint; }
+ static J3DJoint* getJoint() {
+ J3D_ASSERT(185, mJoint != NULL, "Error : null pointer.")
+ return mJoint;
+ }
static void setJoint(J3DJoint* joint) { mJoint = joint; }
static J3DMtxBuffer* mMtxBuffer;