Comment 4 for bug 1815613

GunChleoc (gunchleoc) wrote :

I tried this out in gdb and I am getting a segfault:

Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x00005555565f60af in Widelands::Map::set_origin (this=0x7fffffffa730, new_origin=...) at ../src/logic/map.cc:358
358 fields_[ind] = new_field_order[ind];
(gdb) backtrace
#0 0x00005555565f60af in Widelands::Map::set_origin (this=0x7fffffffa730, new_origin=...) at ../src/logic/map.cc:358
#1 0x0000555556398a8e in EditorSetOriginTool::handle_click_impl (this=0x6170000500e0, center=..., eia=..., map=0x7fffffffa730) at ../src/editor/tools/set_origin_tool.cc:30
#2