Mercurial > mm7
diff CastSpellInfo.h @ 2195:70b63fe6587c
fixing a few bugs reported by PVS
author | Grumpy7 |
---|---|
date | Thu, 30 Jan 2014 23:03:04 +0100 |
parents | 4c787c28ddce |
children | 5d263539bbec |
line wrap: on
line diff
--- a/CastSpellInfo.h Thu Jan 30 22:11:28 2014 +0100 +++ b/CastSpellInfo.h Thu Jan 30 23:03:04 2014 +0100 @@ -17,7 +17,7 @@ //----- (00426987) -------------------------------------------------------- inline CastSpellInfo() { - memset(this, 0, sizeof(this)); + memset(this, 0, sizeof(*this)); } struct GUIWindow *GetCastSpellInInventoryWindow();