File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -435,8 +435,7 @@ void nobHarborBuilding::StopExplorationExpedition()
435435// / Bestellt die zusätzlichen erforderlichen Waren für eine Expedition
436436void nobHarborBuilding::OrderExpeditionWares ()
437437{
438- RTTR_Assert (!IsBeingDestroyedNow ()); // Wares should already be canceled!
439- if (this ->IsBeingDestroyedNow ()) // don't order new stuff if we are about to be destroyed
438+ if (IsBeingDestroyedNow ()) // don't order new stuff if we are about to be destroyed
440439 return ;
441440
442441 if (!expedition.active ) // expedition no longer active?
@@ -490,11 +489,8 @@ void nobHarborBuilding::OrderExpeditionWares()
490489 orderware_ev = GetEvMgr ().AddEvent (this , 210 , 10 );
491490}
492491
493- // / Eine bestellte Ware konnte doch nicht kommen
494492void nobHarborBuilding::WareLost (Ware& ware)
495493{
496- RTTR_Assert (!IsBeingDestroyedNow ());
497- // ggf. neue Waren für Expedition bestellen
498494 if (expedition.active && (ware.type == GoodType::Boards || ware.type == GoodType::Stones))
499495 OrderExpeditionWares ();
500496 nobBaseWarehouse::WareLost (ware);
You can’t perform that action at this time.
0 commit comments