Files
simutrans/returnNull.patch
Michiel van der Wulp b1b80681ed - Update to new version 124.3.1
- In the words of prissi: This is mostly a bugfixing release, improving bridge building 
(which now requires dragging or two clicks) and multitile city buildings. 
You can change the currency symbol and a bad memory consumption bug was removed. 
Cost and maintenance can be now much higher, so a new makeobj is needed too 
if one wants to go that way.
- This release is built from svn revision number 11671.
- Added a patch "returnNull.patch" to solve a build error "this statement may fall through".

OBS-URL: https://build.opensuse.org/package/show/games/simutrans?expand=0&rev=52
2025-04-09 15:17:48 +00:00

15 lines
648 B
Diff

Index: src/simutrans/tool/simtool.cc
===================================================================
--- old/src/simutrans/tool/simtool.cc (revision 11680)
+++ new/src/simutrans/tool/simtool.cc (working copy)
@@ -2951,8 +2951,8 @@
return error;
}
bridge_builder_t::build_bridge( player, start, end, zv, bridge_height, desc, way_builder_t::weg_search(desc->get_waytype(), desc->get_topspeed(), welt->get_timeline_year_month(), type_flat));
- return NULL; // all checks are performed before building.
}
+ return NULL; // all checks are performed before building.
}
void tool_build_bridge_t::rdwr_custom_data(memory_rw_t *packet)