Mercurial > mm7
comparison Engine/Objects/NPC.cpp @ 2565:117c219bf913
Party, items and stuff are abstracted from savegame file representation
author | a.parshin |
---|---|
date | Wed, 20 May 2015 15:12:33 +0200 |
parents | c674d547cc7c |
children | 30eb6dcac768 |
comparison
equal
deleted
inserted
replaced
2564:f9bdfe26d03d | 2565:117c219bf913 |
---|---|
379 free(pNPCDistTXT_Raw); | 379 free(pNPCDistTXT_Raw); |
380 pNPCDistTXT_Raw = nullptr; | 380 pNPCDistTXT_Raw = nullptr; |
381 } | 381 } |
382 | 382 |
383 //----- (00476C60) -------------------------------------------------------- | 383 //----- (00476C60) -------------------------------------------------------- |
384 void NPCStats::_476C60() | 384 void NPCStats::_476C60_on_load_game() |
385 { | 385 { |
386 for (unsigned int i = 1; i < uNumNewNPCs; ++i) | 386 for (unsigned int i = 1; i < uNumNewNPCs; ++i) |
387 pNewNPCData[i].pName = pNPCUnicNames[i - 1]; | 387 pNewNPCData[i].pName = pNPCUnicNames[i - 1]; |
388 | 388 |
389 if (pParty->pHirelings[0].pName) | 389 if (pParty->pHirelings[0].pName) |