widelands/widelands-non-void.patch
Pavol Rusnak 76f6a6ccf2 - updated to build 14
- Fixed spec file to actiually build release 13

OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=17
2010-02-20 23:24:08 +00:00

37 lines
1.1 KiB
Diff

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);
}
}
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);
}
}