mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-11 01:10:26 +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:
@ -120,7 +120,7 @@ void CDefObjInfoHandler::load()
|
||||
|
||||
|
||||
gobjs[nobj->id][nobj->subid] = nobj;
|
||||
if(nobj->id==GameConstants::TOWNI_TYPE)
|
||||
if(nobj->id==Obj::TOWN)
|
||||
castles[nobj->subid]=nobj;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user