Browse Source

♻️ Initialize type with nullptr

pull/1245/head
Anders Jenbo 5 years ago
parent
commit
3936f2f088
  1. 2
      Source/monster.cpp

2
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:

Loading…
Cancel
Save