1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Fix hero initialization form random map

This commit is contained in:
nordsoft 2023-09-04 02:57:37 +04:00
parent c3663e4e1b
commit b7a438e8f4

View File

@ -142,6 +142,7 @@ void MapController::repairMap()
{
nih->typeName = "prison";
nih->subTypeName = "prison";
nih->subID = 0;
}
nih->type = type;