Skip to content

Commit

Permalink
Fix the example code
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha committed Jun 3, 2024
1 parent 3f4ca5f commit faf942a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Plugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ namespace GOTHIC_NAMESPACE
{
constexpr const char* versions[] = {"", "Gothic I", "Gothic Sequel (:o)", "Gothic II Classic", "Gothic II Night of the Raven"};
Union::String::Format("Hello World from MyPlugin Example!\nGame: {0}", versions[GetGameVersion()]).ShowMessage();
// Execute original method
(this->*CGameManager_Init_Ivk)(handle);
}
//@EXAMPLE END
}

0 comments on commit faf942a

Please sign in to comment.