1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

fix uninitialized var

This commit is contained in:
Laserlicht 2024-07-29 23:05:55 +02:00
parent 3e5df61946
commit 48173ebfbf

View File

@ -112,7 +112,7 @@ struct DLL_LINKAGE PlayerSettings
else
{
enum EHandicap {NO_HANDICAP, MILD, SEVERE};
EHandicap handicapLegacy;
EHandicap handicapLegacy = NO_HANDICAP;
h & handicapLegacy;
}
h & name;