summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-12-06 16:39:30 -0500
committerGitHub <noreply@github.com>2025-12-06 13:39:30 -0800
commit136f6b3f40ec4fe16910c9680a3c88270be6c46e (patch)
tree8b42e15ecc869097e1b3daeb401d08a5afa28398 /include/JSystem/J3DGraphBase
parenta30e617e5a9b8264053788429a587ee1763eae73 (diff)
d_kankyo debug work (#2918)
* Global: Define DEBUG as 0 if not already defined * Clean up DEBUG-guarded code * d_kankyo debug almost matching
Diffstat (limited to 'include/JSystem/J3DGraphBase')
-rw-r--r--include/JSystem/J3DGraphBase/J3DStruct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DStruct.h b/include/JSystem/J3DGraphBase/J3DStruct.h
index 152cb4d152..e62f8d9094 100644
--- a/include/JSystem/J3DGraphBase/J3DStruct.h
+++ b/include/JSystem/J3DGraphBase/J3DStruct.h
@@ -31,7 +31,7 @@ public:
J3DLightObj() { mInfo = j3dDefaultLightInfo; }
void load(u32) const;
- J3DLightInfo& getLightInfo() { return mInfo; }
+ J3DLightInfo* getLightInfo() { return &mInfo; }
J3DLightObj& operator=(J3DLightObj const& other) {
mInfo = other.mInfo;
return *this;