Skip to content

Commit

Permalink
more if build editor guards compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mormert committed Feb 16, 2024
1 parent 1170157 commit 1329bfd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion engine/jleKickStarter.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ class jleKickStarter
plog::ColorConsoleAppender<plog::TxtFormatter> consoleAppender; // Log to command window
plog::init<0>(plog::verbose, &fileAppender).addAppender(&consoleAppender).addAppender(&dynamicAppender());

JLE_EXEC_IF(JLE_BUILD_EDITOR) { kickStartGameInEditor<T>(); }
JLE_EXEC_IF(JLE_BUILD_EDITOR)
{
#if JLE_BUILD_EDITOR
kickStartGameInEditor<T>();
#endif
}
else
{
kickStartGame<T>();
Expand Down

0 comments on commit 1329bfd

Please sign in to comment.