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

Proper defeat message

This commit is contained in:
nordsoft 2022-12-23 01:39:46 +04:00 committed by Nordsoft91
parent 5fceb97838
commit 447e01aba3

View File

@ -668,7 +668,7 @@ void MapSettings::on_pushButton_clicked()
specialDefeat.description.clear(); // TODO: display in quest window
controller.map()->defeatIconIndex = lossCondition;
controller.map()->defeatMessage = VLC->generaltexth->lossCondtions[1]; //TODO: get proper text
controller.map()->defeatMessage = VLC->generaltexth->lossCondtions[size_t(lossCondition) + 1];
switch(lossCondition)
{