Mercurial > mm7
comparison Indoor.cpp @ 382:a4a5996fea5b
Fixed savelist problem
author | Gloval |
---|---|
date | Fri, 22 Feb 2013 23:46:31 +0400 |
parents | d720a13e2273 |
children | c3a0d94c07a5 |
comparison
equal
deleted
inserted
replaced
377:243418228760 | 382:a4a5996fea5b |
---|---|
4668 { | 4668 { |
4669 auto uItemID = p->stru_24.uItemID; | 4669 auto uItemID = p->stru_24.uItemID; |
4670 if (uItemID) | 4670 if (uItemID) |
4671 { | 4671 { |
4672 if (uItemID != 220 && pItemsTable->pItems[uItemID].uEquipType == EQUIP_POTION && | 4672 if (uItemID != 220 && pItemsTable->pItems[uItemID].uEquipType == EQUIP_POTION && |
4673 !p->stru_24._bonus_type) | 4673 !p->stru_24.uEncantmentType) |
4674 p->stru_24._bonus_type = rand() % 15 + 5; | 4674 p->stru_24.uEncantmentType = rand() % 15 + 5; |
4675 pItemsTable->SetSpecialBonus(&p->stru_24); | 4675 pItemsTable->SetSpecialBonus(&p->stru_24); |
4676 } | 4676 } |
4677 } | 4677 } |
4678 } | 4678 } |
4679 | 4679 |