Skip to content

activator unassigned before call to SUB_UseTargets #13

@4LT

Description

@4LT

progs_dump/qc/triggers.qc

Lines 1249 to 1250 in 55960e8

self.use = multi_trigger;
SUB_UseTargets();

SUB_UseTargets is called from a touch context, meaning "other" is guaranteed to be assigned, but there's no guarantee about the "activator" global.

Also, it's not clear to me why multi_trigger is assigned to self.use before SUB_UseTargets is called when multi_trigger calls SUB_UseTargets itself. Seems like a bug, but you're doing something I just don't understand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions