1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-21 21:17:49 +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 else
{ {
enum EHandicap {NO_HANDICAP, MILD, SEVERE}; enum EHandicap {NO_HANDICAP, MILD, SEVERE};
EHandicap handicapLegacy; EHandicap handicapLegacy = NO_HANDICAP;
h & handicapLegacy; h & handicapLegacy;
} }
h & name; h & name;