From 719edb4196376aaf21279d572e56e665cf62a290 Mon Sep 17 00:00:00 2001 From: Kawa Date: Mon, 14 Aug 2023 22:31:04 +0200 Subject: [PATCH] Update NewRoomDialog.cpp Should resolve issue #23. --- SCICompanionLib/Src/Dialogs/NewRoomDialog.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SCICompanionLib/Src/Dialogs/NewRoomDialog.cpp b/SCICompanionLib/Src/Dialogs/NewRoomDialog.cpp index 2a4c1fd4..eb710047 100644 --- a/SCICompanionLib/Src/Dialogs/NewRoomDialog.cpp +++ b/SCICompanionLib/Src/Dialogs/NewRoomDialog.cpp @@ -359,8 +359,9 @@ void CNewRoomDialog::_PrepareBuffer() if (includePolys) { #ifdef ENABLE_GETPOLY - _AddStatement(*pInit, GetSetUpPolyProcedureCall()); - //_AddComment(*pInit, "(gRoom addObstacle: (getpoly {Room}))", sci::CommentType::Indented); + //_AddStatement(*pInit, GetSetUpPolyProcedureCall()); + _AddComment(*pInit, "Uncomment this line once one or more polygons have been defined in the picture editor.", sci::CommentType::LeftJustified); + _AddComment(*pInit, "(gRoom addObstacle: (&getpoly \"\"))", sci::CommentType::Indented); #else _AddStatement(*pInit, GetSetUpPolyProcedureCall(_nPicScript)); #endif