From 4e2847f83b2c8d66b32b5554e8ca8fa4248d2044 Mon Sep 17 00:00:00 2001
From: Piotr Macha <me@piotrmacha.pl>
Date: Fri, 1 Mar 2024 00:10:03 +0100
Subject: [PATCH] Fix switch-case in union/sdk/getting_started.md

---
 docs/zengin/union/sdk/getting_started.md | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

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";