From 3936f2f088e983fa5dda14f133e3b02f439f22f7 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Mon, 22 Mar 2021 20:49:48 +0100 Subject: [PATCH] :recycle: Initialize type with nullptr --- Source/monster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/monster.cpp b/Source/monster.cpp index 52ff7e7cd..3b20b3704 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -5158,7 +5158,7 @@ void M_FallenFear(int x, int y) const char *GetMonsterTypeText(const MonsterData &monsterData) { - const char *type; + const char *type = nullptr; switch (monsterData.mMonstClass) { case MC_ANIMAL: