Project

General

Profile

Bug #197 » 0040-startpos_raw_nations-Return-nullptr-instead-of-FALSE.patch

main - Marko Lindqvist, 01/22/2024 02:42 AM

View differences:

common/map.c
***********************************************************************/
const struct nation_hash *startpos_raw_nations(const struct startpos *psp)
{
fc_assert_ret_val(psp != nullptr, FALSE);
fc_assert_ret_val(psp != nullptr, nullptr);
return psp->nations;
}
(1-1/2)