diff Game.cpp @ 293:27670273a6ff

little fix npc gen
author Gloval
date Tue, 19 Feb 2013 01:23:04 +0400
parents 0ea5fbd16edb
children d720a13e2273
line wrap: on
line diff
--- a/Game.cpp	Tue Feb 19 00:37:12 2013 +0400
+++ b/Game.cpp	Tue Feb 19 01:23:04 2013 +0400
@@ -370,7 +370,7 @@
         continue;
       }
       pAudioPlayer->StopChannels(-1, -1);//далее в случае смерти группы
-      memset(pParty->pHirelings, 0, 0x4Cu);
+      memset(&pParty->pHirelings[0], 0, 0x4Cu);
       memset(&pParty->pHirelings[1], 0, 0x4Cu);
       pNewNPCsCount = 0;
       if ( (signed int)pNPCStats->uNumNewNPCs > 0 )