diff --git a/SConstruct b/SConstruct index 9a428876a..5ab86a4e2 100644 --- a/SConstruct +++ b/SConstruct @@ -1099,7 +1099,7 @@ class D1XProgram(DXXProgram): __objects_editor = DXXCommon.create_lazy_object_property([{ 'source':[os.path.join(srcdir, f) for f in [ 'main/hostage.c', -'editor/ehostage.c', +'editor/ehostage.cpp', ] ], }]) diff --git a/d1x-rebirth/editor/ehostage.c b/d1x-rebirth/editor/ehostage.cpp similarity index 99% rename from d1x-rebirth/editor/ehostage.c rename to d1x-rebirth/editor/ehostage.cpp index cc658c52c..d38055fd3 100644 --- a/d1x-rebirth/editor/ehostage.c +++ b/d1x-rebirth/editor/ehostage.cpp @@ -28,6 +28,7 @@ COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED. #include "segment.h" #include "editor.h" #include "editor/esegment.h" +#include "ehostage.h" #include "timer.h" #include "objpage.h"