1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Fix hero initialization form random map

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

View File

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