Index: widelands/src/events/event_factory.cc =================================================================== --- widelands.orig/src/events/event_factory.cc +++ widelands/src/events/event_factory.cc @@ -147,6 +147,7 @@ Event & create case 12: return *new Event_Unhide_Area (name, state); default: assert(false); + return *new Event_Allow_Building (name, state); } } @@ -184,6 +185,7 @@ Event & create(Section & s, Editor_Game_ case 12: return *new Event_Unhide_Area (s, egbase); default: assert(false); + return *new Event_Allow_Building (s, egbase); } } Index: widelands/src/map.h =================================================================== --- widelands.orig/src/map.h +++ widelands/src/map.h @@ -1062,6 +1062,7 @@ throw () case Map_Object::WALK_W: return l_n(f); default: assert(false); + return tl_n(f); } } Index: widelands/src/trigger/trigger_factory.cc =================================================================== --- widelands.orig/src/trigger/trigger_factory.cc +++ widelands/src/trigger/trigger_factory.cc @@ -99,6 +99,7 @@ Trigger & create(size_t const id, char c case 5: return *new Trigger_Vision (name, set); default: assert(false); + return *new Trigger_Building (name, set); } }