Permalink
Browse files

fixed uninitialized memory

  • Loading branch information...
1 parent 5b5ebb0 commit 2f6f743ee065b97cef3ad0c146d00aa7645c2aa4 @AvengerTeamBG AvengerTeamBG committed Aug 4, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 gemrb/core/Scriptable/PCStatStruct.cpp
@@ -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;

0 comments on commit 2f6f743

Please sign in to comment.