Skip to content

Commit

Permalink
Update NewRoomDialog.cpp
Browse files Browse the repository at this point in the history
Should resolve issue #23.
  • Loading branch information
Kawa-oneechan committed Aug 14, 2023
1 parent 2483da4 commit 719edb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SCICompanionLib/Src/Dialogs/NewRoomDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 719edb4

Please sign in to comment.