1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Fixed bugs 11, 24 & 26

Next part of Shops script, however still no GUI.
This commit is contained in:
DjWarmonger
2009-10-03 11:16:42 +00:00
parent 78517a4397
commit 913c0af6fa
6 changed files with 61 additions and 8 deletions

View File

@@ -623,3 +623,20 @@ void NewObject::applyCl(CClient *cl)
}
}
}
void TradeComponents::applyCl(CClient *cl)
{///Shop handler
switch (CGI->mh->map->objects[objectid]->ID)
{
case 7: //Black Market
break;
case 95: //Tavern
break;
case 97: //Den of Thieves
break;
case 221: //Trading Post
break;
default:
tlog2 << "Shop type not supported! \n";
}
}