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:
parent
5fceb97838
commit
447e01aba3
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user