- uninitialized variable fixed

This commit is contained in:
Christoph Oelckers 2020-08-03 20:07:23 +02:00
parent 0036402be8
commit d87f0dc0b0

View file

@ -281,7 +281,7 @@ public:
FString format; FString format;
for (int i = 0; i < 9; i++) for (int i = 0; i < 9; i++)
{ {
FGameTexture* img; FGameTexture* img = nullptr;
if ((g_gameType & GAMEFLAG_RRRA) && i == 4 && p->curr_weapon == CHICKEN_WEAPON) if ((g_gameType & GAMEFLAG_RRRA) && i == 4 && p->curr_weapon == CHICKEN_WEAPON)
{ {