summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-02 00:34:51 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-02 00:34:51 +0100
commitfda58fb1dfaba95c72f564d155560abd8d10b794 (patch)
treeea8dbbff0e92086a2badcb495fb82408077a4e39 /src/control
parentMerge remote-tracking branch 'upstream/master' (diff)
downloadre3-fda58fb1dfaba95c72f564d155560abd8d10b794.tar
re3-fda58fb1dfaba95c72f564d155560abd8d10b794.tar.gz
re3-fda58fb1dfaba95c72f564d155560abd8d10b794.tar.bz2
re3-fda58fb1dfaba95c72f564d155560abd8d10b794.tar.lz
re3-fda58fb1dfaba95c72f564d155560abd8d10b794.tar.xz
re3-fda58fb1dfaba95c72f564d155560abd8d10b794.tar.zst
re3-fda58fb1dfaba95c72f564d155560abd8d10b794.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/SceneEdit.cpp3
-rw-r--r--src/control/SceneEdit.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/control/SceneEdit.cpp b/src/control/SceneEdit.cpp
index 154fe603..8224c1d4 100644
--- a/src/control/SceneEdit.cpp
+++ b/src/control/SceneEdit.cpp
@@ -1,7 +1,7 @@
#include "common.h"
#include "SceneEdit.h"
-
+#ifdef GTA_SCENE_EDIT
#include "Automobile.h"
#include "Camera.h"
#include "CarCtrl.h"
@@ -1096,3 +1096,4 @@ bool CSceneEdit::SelectWeapon(void)
}
return false;
}
+#endif
diff --git a/src/control/SceneEdit.h b/src/control/SceneEdit.h
index 6dcefa31..7c8fb98a 100644
--- a/src/control/SceneEdit.h
+++ b/src/control/SceneEdit.h
@@ -1,5 +1,5 @@
#pragma once
-
+#ifdef GTA_SCENE_EDIT
class CPed;
class CVehicle;
@@ -93,3 +93,4 @@ public:
static void SelectVehicle(void);
static bool SelectWeapon(void);
};
+#endif