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:
@@ -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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user