Mercurial > mm7
comparison Actor.cpp @ 1764:2051dfa0a00c
Слияние
author | Ritor1 |
---|---|
date | Tue, 01 Oct 2013 10:44:02 +0600 |
parents | 20223822fabc 845a6503f55c |
children | 0f1543750bf8 |
comparison
equal
deleted
inserted
replaced
1763:20223822fabc | 1764:2051dfa0a00c |
---|---|
2991 case MONSTER_DRAGON_1: case MONSTER_DRAGON_2: case MONSTER_DRAGON_3: | 2991 case MONSTER_DRAGON_1: case MONSTER_DRAGON_2: case MONSTER_DRAGON_3: |
2992 drop.uItemID = ITEM_DRAGON_EYE; | 2992 drop.uItemID = ITEM_DRAGON_EYE; |
2993 break; | 2993 break; |
2994 } | 2994 } |
2995 | 2995 |
2996 if (rand() % 100 < 20) | 2996 if (rand() % 100 < 20 && drop.uItemID != 0) |
2997 { | 2997 { |
2998 sub_42F7EB_DropItemAt(pItemsTable->pItems[drop.uItemID].uSpriteID, | 2998 sub_42F7EB_DropItemAt(pItemsTable->pItems[drop.uItemID].uSpriteID, |
2999 actor->vPosition.x, | 2999 actor->vPosition.x, |
3000 actor->vPosition.y, | 3000 actor->vPosition.y, |
3001 actor->vPosition.z + 16, | 3001 actor->vPosition.z + 16, |