Mercurial > mm7
diff mm7_6.cpp @ 305:cc8e4dc397ec
MonsterPopup_Draw crash fix
author | Nomad |
---|---|
date | Tue, 19 Feb 2013 21:50:33 +0200 |
parents | 3dcc9d945eeb |
children | 2a09e1d6fc8f |
line wrap: on
line diff
--- a/mm7_6.cpp Tue Feb 19 15:40:11 2013 +0200 +++ b/mm7_6.cpp Tue Feb 19 21:50:33 2013 +0200 @@ -7970,7 +7970,7 @@ Vec3_int_::Normalize(&a3.x, &a3.y, &a3.z); DamageMonsterFromParty((8 * (uActiveCharacter - 1)) | OBJECT_Player, target_id, &a3); - if (player->WearsItem(506, 1) || player->WearsItem(506, 0)) + if (player->WearsItem(ITEM_ARTIFACT_SPLITTER, 1) || player->WearsItem(ITEM_ARTIFACT_SPLITTER, 0)) _42FA66_do_explosive_impact( actor->vPosition.x, actor->vPosition.y,