Called C++ object pointer is null in logic/ware_descr.cc
Bug #1335430 reported by
Hans Joachim Desserud
This bug report is a duplicate of:
Bug #1322869: dedicated server broken due to calls to g_gr.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Confirmed
|
Low
|
Unassigned |
Bug Description
Found by scan-build in r7020.
I don't know how strongly this is related, but it might be relevant to read through bug 1322869 when looking at this one.
Last seen in r7181.
description: | updated |
To post a comment you must log in.
This will crash in --dedicated.
However the correct fix is to have a dummy g_gr object that does nothing for dedicated anyways. Checking that g_gr != nullptr everywhere is not scalable.