HomeFreeBSD

games/scorched3d: Fix build on 12.0-CURRENT

Description

games/scorched3d: Fix build on 12.0-CURRENT

../../common/weapons/AccessoryStore.cpp:158:64: error: cannot initialize return object of type 'AccessoryPart *' with an rvalue of type 'bool'

if (!currentNode->getNamedParameter("type", typeNode)) return false;
                                                              ^~~~~

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/scorched3d-0.43.3d_11.log

Details

Provenance
tobikAuthored on
Parents
rP475877: games/species: Fix build on 12.0-CURRENT
Branches
Unknown
Tags
Unknown