diff --git a/docs/zengin/union/sdk/getting_started.md b/docs/zengin/union/sdk/getting_started.md index 2bf7f5d46e..ddfda3afdf 100644 --- a/docs/zengin/union/sdk/getting_started.md +++ b/docs/zengin/union/sdk/getting_started.md @@ -69,10 +69,21 @@ void Game_Init() { CStringA gothicVersion; switch (Union.GetEngineVersion()) { - case Engine_G1: gothicVersion = "Gothic I"; - case Engine_G1A: gothicVersion = "Gothic Sequel"; - case Engine_G2: gothicVersion = "Gothic II"; - case Engine_G2A: gothicVersion = "Gothic II NoTR"; + case Engine_G1: + gothicVersion = "Gothic I"; + break; + case Engine_G1A: + gothicVersion = "Gothic Sequel"; + break; + case Engine_G2: + gothicVersion = "Gothic II"; + break; + case Engine_G2A: + gothicVersion = "Gothic II NoTR"; + break; + default: + gothicVersion = "Not possible case. Engine version doesn't match any known engine."; + break; } CStringA message = "Plugin: " + myPlugin->GetName() + "\n";