mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
* campaign against magic numbers
* ArtifactID was misleading and wrongly used in one place -- renamed and fixed * minor changes
This commit is contained in:
@ -211,7 +211,7 @@ bool HireHero::applyGh( CGameHandler *gh )
|
||||
{
|
||||
const CGObjectInstance *obj = gh->getObj(tid);
|
||||
|
||||
if(obj->ID == GameConstants::TOWNI_TYPE)
|
||||
if(obj->ID == Obj::TOWN)
|
||||
ERROR_IF_NOT_OWNS(tid);
|
||||
//TODO check for visiting hero
|
||||
|
||||
|
Reference in New Issue
Block a user