summaryrefslogtreecommitdiff
path: root/src/engine/editor/Collision.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/editor/Collision.cpp')
-rw-r--r--src/engine/editor/Collision.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/engine/editor/Collision.cpp b/src/engine/editor/Collision.cpp
index 5a6d734ba..f79865899 100644
--- a/src/engine/editor/Collision.cpp
+++ b/src/engine/editor/Collision.cpp
@@ -7,6 +7,7 @@
#include "engine/Actor.h"
#include "engine/objects/Object.h"
#include "engine/editor/GameObject.h"
+#include "port/Game.h"
extern "C" {
#include "main.h"
@@ -24,11 +25,6 @@ namespace Editor {
size_t i = 0;
bool run = true;
- //! @attention Objects will not be clickable if editor is enabled mid-race.
- if (CVarGetInteger("gEditorEnabled", false) == true) {
- return;
- }
-
while (run) {
i++;
lo = ptr->words.w0;