This was previously done by trigger_init() and
should have been included in
2b46f62db61e8ca869fc591d9ebe4053c3e876d7
The only other entities using trigger_init() were trigger_impulse and
trigger_push, but those use touch funcs whereas func_ladder uses a think
func to search.
void func_ladder_init(entity this)
{
+ string m = this.model;
EXACTTRIGGER_INIT;
+ // restore the model string unset in WarpZoneLib_ExactTrigger_Init()
+ // see: https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/2838
+ this.model = m;
BITSET_ASSIGN(this.effects, EF_NODEPTHTEST);
func_ladder_link(this);
setthink(this, func_ladder_think);