diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2025-07-21 02:57:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-20 16:57:50 -0700 |
| commit | 69aaeeeda68b8ca4714daf4e9dd0e800c918867a (patch) | |
| tree | 2af9e56454aa7f58071695853e596dfae101847f /include/JSystem | |
| parent | d9ac8d7e3f24abe6a21ebe8018621401e9f355d3 (diff) | |
d_a_obj_tobyhouse equivalent (#2546)
Diffstat (limited to 'include/JSystem')
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DJoint.h | 5 |
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; |
