diff UI/UICharacter.cpp @ 1518:091c5eb46a0e

Fix size of byte_5111F6, it must include unk_511206 (as byte).
author yoctozepto
date Wed, 04 Sep 2013 15:27:01 +0200
parents a109bb203e28
children c4ab816fcc5e
line wrap: on
line diff
--- a/UI/UICharacter.cpp	Wed Sep 04 14:34:59 2013 +0200
+++ b/UI/UICharacter.cpp	Wed Sep 04 15:27:01 2013 +0200
@@ -1764,7 +1764,7 @@
       }
     }
   }
-  memset(byte_5111F6.data(), 0, 16);
+  memset(byte_5111F6.data(), 0, sizeof(byte_5111F6));
   for (uint i = 0; i < 4; ++i)
   {
     auto player = pParty->pPlayers + i;