comparison Party.cpp @ 1793:4dee76d79c78

dword_5B65CC to npcIdToDismissAfterDialogue, Party::field_709 to Party::hirelingScrollPosition
author Grumpy7
date Sun, 06 Oct 2013 09:19:12 +0200
parents cecb080929c4
children bdac32c645c5
comparison
equal deleted inserted replaced
1792:3155be890554 1793:4dee76d79c78
353 353
354 pParty = this; 354 pParty = this;
355 355
356 pHireling1Name[0] = 0; 356 pHireling1Name[0] = 0;
357 pHireling2Name[0] = 0; 357 pHireling2Name[0] = 0;
358 pParty->field_709 = 0; 358 pParty->hirelingScrollPosition = 0;
359 memset(pHirelings, 0, 2 * sizeof(*pHirelings)); 359 memset(pHirelings, 0, 2 * sizeof(*pHirelings));
360 360
361 strcpy(this->pPlayers[0].pName, pGlobalTXT_LocalizationStrings[509]); //Zoltan 361 strcpy(this->pPlayers[0].pName, pGlobalTXT_LocalizationStrings[509]); //Zoltan
362 pParty->pPlayers[0].uPrevFace = 17; 362 pParty->pPlayers[0].uPrevFace = 17;
363 pParty->pPlayers[0].uCurrentFace = 17; 363 pParty->pPlayers[0].uCurrentFace = 17;
1040 hireling->evt_C = 0; 1040 hireling->evt_C = 0;
1041 1041
1042 Assert(sizeof(NPCData) == 0x4C); 1042 Assert(sizeof(NPCData) == 0x4C);
1043 memset(hireling, 0, sizeof(*hireling)); 1043 memset(hireling, 0, sizeof(*hireling));
1044 1044
1045 pParty->field_709 = 0; 1045 pParty->hirelingScrollPosition = 0;
1046 pParty->CountHirelings(); 1046 pParty->CountHirelings();
1047 viewparams->bRedrawGameUI = true; 1047 viewparams->bRedrawGameUI = true;
1048 } 1048 }
1049 } 1049 }
1050 } 1050 }