← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/ai-post-b19-2 into lp:widelands

 

@Gun,
I found that the game crashes on line:

if (field.coords.field->get_immovable()->descr().type() == Widelands::MapObjectType::MILITARYSITE) {

(gdb) bt
#0  0x0000000000ce6f5a in Widelands::MapObject::descr (this=0x0)
    at /var/widelands2/BZR/ai-post-b19-2/src/logic/map_objects/map_object.h:229
#1  0x000000000111c015 in DefaultAI::update_buildable_field (this=0x9d9cc60, field=...)
    at /var/widelands2/BZR/ai-post-b19-2/src/ai/defaultai.cc:1243
#2  0x000000000111bc9e in DefaultAI::update_all_not_buildable_fields (this=0x9d9cc60)
    at /var/widelands2/BZR/ai-post-b19-2/src/ai/defaultai.cc:1204

Do you know what had you changed? It worked for sure before...
-- 
https://code.launchpad.net/~widelands-dev/widelands/ai-post-b19-2/+merge/325796
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/ai-post-b19-2 into lp:widelands.


References