From 5c80a4c25ed5770c0d185034c5eca4e49feac6e7 Mon Sep 17 00:00:00 2001 From: AllyTally Date: Fri, 12 Jun 2020 19:27:21 -0300 Subject: [PATCH] Remove another header initialization --- desktop_version/src/editor.cpp | 1 + desktop_version/src/editor.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index c97405bb..3e07ea9d 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -385,6 +385,7 @@ void editorclass::reset() returneditoralpha = 0; ghosts.clear(); + currentghosts = 0; } void editorclass::gethooks() diff --git a/desktop_version/src/editor.h b/desktop_version/src/editor.h index 8801ddfd..0f5623d6 100644 --- a/desktop_version/src/editor.h +++ b/desktop_version/src/editor.h @@ -238,7 +238,7 @@ class editorclass{ int returneditoralpha; std::vector ghosts; - int currentghosts = 0; + int currentghosts; }; void addedentity(int xp, int yp, int tp, int p1=0, int p2=0, int p3=0, int p4=0, int p5=320, int p6=240);