mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix use of uninitialized variable during /load of old saves
This commit is contained in:
parent
637db33737
commit
72455ed32d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue