mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
Working windmill, water wheel, mystical garden (not tested).
Info windows. Minor changes.
This commit is contained in:
@ -1524,6 +1524,7 @@ std::string CMapHandler::getDefName(int id, int subid)
|
||||
if(CGI->dobjinfo->objs[i].type==id && CGI->dobjinfo->objs[i].subtype==subid)
|
||||
return CGI->dobjinfo->objs[i].defName;
|
||||
}
|
||||
throw new std::exception("Def not found.");
|
||||
}
|
||||
|
||||
bool CMapHandler::printObject(CGObjectInstance *obj)
|
||||
|
Reference in New Issue
Block a user