Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed uninitialized memory
  • Loading branch information
AvengerTeamBG committed Aug 4, 2013
1 parent 5b5ebb0 commit 2f6f743
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gemrb/core/Scriptable/PCStatStruct.cpp
Expand Up @@ -41,6 +41,7 @@ PCStatsStruct::PCStatsStruct()
memset( FavouriteSpellsCount, 0, sizeof(FavouriteSpellsCount) );
memset( FavouriteWeapons, 0, sizeof(FavouriteWeapons) );
memset( FavouriteWeaponsCount, 0, sizeof(FavouriteWeaponsCount) );
memset( ExtraSettings, 0, sizeof(ExtraSettings) );
SoundSet[0]=0;
SoundFolder[0]=0;
QSlots[0]=0xff;
Expand Down

0 comments on commit 2f6f743

Please sign in to comment.