mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Proper defeat message
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user