mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
some improvements in map randomizing, most things done. If you want to do sth with this, do it ;].
This commit is contained in:
@@ -1562,7 +1562,7 @@ void CAmbarCendamo::deh3m()
|
||||
nobj = nt;
|
||||
|
||||
nt->setOwner(spec->player);
|
||||
nt->town = &CGI->townh->towns[CTownHandler::getTypeByDefName(nobj->defInfo->name)];
|
||||
nt->town = &CGI->townh->towns[nt->defInfo->subid];
|
||||
nt->builded = 0;
|
||||
nt->destroyed = 0;
|
||||
nt->name = spec->name;
|
||||
|
||||
Reference in New Issue
Block a user