Fix use of uninitialized variable during /load of old saves

This commit is contained in:
Zwelf 2020-12-28 17:48:27 +01:00
parent 637db33737
commit 72455ed32d

View file

@ -364,6 +364,7 @@ int CSaveTee::FromString(const char *String)
m_HasTelegunGrenade = 0;
m_HasTelegunLaser = 0;
m_HasTelegunGun = 0;
FormatUuid(CalculateUuid("game-uuid-nonexistent@ddnet.tw"), m_aGameUuid, sizeof(m_aGameUuid));
// fall through
case 101:
m_HookedPlayer = -1;