mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Remove assert - confirmed to be legal scenario
This commit is contained in:
parent
48907f5e8b
commit
a7c45d8ec8
@ -100,7 +100,8 @@ void HeroMovementController::showTeleportDialog(const CGHeroInstance * hero, Tel
|
||||
}
|
||||
}
|
||||
|
||||
assert(0); // exit not found? How?
|
||||
// may happen when hero has path but does not moves alongside it
|
||||
// for example, while standing on teleporter set path that does not leads throught teleporter and press space
|
||||
LOCPLINT->cb->selectionMade(-1, askID);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user