Adrian Schröter
e81417492f
OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=35
21 lines
742 B
Diff
21 lines
742 B
Diff
--- src/logic/expedition_bootstrap.cc.orig 2014-02-25 18:23:49.184906307 +0100
|
|
+++ src/logic/expedition_bootstrap.cc 2014-02-25 18:24:11.959906892 +0100
|
|
@@ -180,6 +180,7 @@
|
|
}
|
|
}
|
|
assert(false); // Never here, otherwise we do not have a queue for this ware.
|
|
+ return *(wares_[0]).get(); // just something to avoid compiler warning
|
|
}
|
|
|
|
std::vector<WaresQueue*> ExpeditionBootstrap::wares() const {
|
|
--- src/scripting/lua_map.cc.orig 2014-02-25 18:24:39.048907588 +0100
|
|
+++ src/scripting/lua_map.cc 2014-02-25 18:24:51.019907895 +0100
|
|
@@ -82,6 +82,7 @@
|
|
return CAST_TO_LUA(Ship);
|
|
}
|
|
assert(false); // Never here, hopefully.
|
|
+ return 0;
|
|
}
|
|
int upcasted_immovable_to_lua(lua_State * L, BaseImmovable * mo) {
|
|
if (!mo)
|