mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-10 20:28:19 -04:00
Fix createEditorCamera link error
This commit is contained in:
@@ -28,13 +28,17 @@ public:
|
||||
JStage::TObject* appendActor(fopAc_ac_c*);
|
||||
dDemo_actor_c* getActor(u8);
|
||||
dDemo_camera_c* createCamera();
|
||||
#if DEBUG
|
||||
dDemo_camera_c* createEditorCamera();
|
||||
#endif
|
||||
dDemo_camera_c* getActiveCamera();
|
||||
JStage::TObject* createAmbient();
|
||||
JStage::TObject* appendLight();
|
||||
JStage::TObject* createFog();
|
||||
void remove();
|
||||
#if DEBUG
|
||||
void removeEditorCamera();
|
||||
#endif
|
||||
|
||||
dDemo_camera_c* getCamera() { return mpCamera; }
|
||||
|
||||
|
||||
@@ -851,7 +851,9 @@ int dDemo_system_c::JSGFindObject(JStage::TObject** p_TObj, char const* actorNam
|
||||
*p_TObj = mpObject->appendActor(actor);
|
||||
} else if (objType == JStage::OBJECT_CAMERA) {
|
||||
if (DEBUG && !strcmp(actorName, "EditCam")) {
|
||||
#if DEBUG
|
||||
*p_TObj = mpObject->createEditorCamera();
|
||||
#endif
|
||||
} else {
|
||||
*p_TObj = mpObject->createCamera();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user