1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-29 00:41:38 +02:00

Fix for quest artifacts

This commit is contained in:
DjWarmonger
2010-07-09 05:07:56 +00:00
parent 3af697b91a
commit b189356a63
2 changed files with 4 additions and 3 deletions

View File

@ -910,7 +910,7 @@ std::pair<int,int> CGameState::pickObject (CGObjectInstance *obj)
{
switch(obj->ID)
{
case 65: //random artifact //how the hell use IGameCallback for this?
case 65:
return std::pair<int,int>(5, VLC->arth->getRandomArt (CArtifact::ART_TREASURE | CArtifact::ART_MINOR | CArtifact::ART_MAJOR | CArtifact::ART_RELIC));
case 66: //random treasure artifact
return std::pair<int,int>(5, VLC->arth->getRandomArt (CArtifact::ART_TREASURE));