Skip to content

Flags operation do not work anymore since fews commit. #1448

@Jhobean

Description

@Jhobean

When I'm on a mount, if I dclick to dismount it's automatic remove my war mode.

ON=@Dismount
IF ((<i.flags>&statf_war)  && <i.isplayer>)
	i.flags &=~ statf_war
ENDIF

Since a while, my flag are broken if I do that and all my flags check after that are broken. Here How to reproduce.

1- Be on a horse (c_horse_tan)
2- Activate Ware mode
3- launch Potato function and check your flag...

[FUNCTION potato]
serv.log <src.flags>
IF ((<i.flags>&statf_war)  && <i.isplayer>)
	serv.log On the if
	src.flags &=~ statf_war
ENDIF
serv.log <src.flags>
Image

After that FLags are broken for ever

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions