Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrow marker placed in every cylinder marker #454

Closed
NFSMONSTR opened this issue May 12, 2018 · 2 comments
Closed

Arrow marker placed in every cylinder marker #454

NFSMONSTR opened this issue May 12, 2018 · 2 comments

Comments

@NFSMONSTR
Copy link
Contributor

img
If start new game and then teleport to hideout firstly appears only arrow marker and after some time cylinder marker appears too
img

@NFSMONSTR
Copy link
Contributor Author

It seems like it caused by the last commit

So original code of opcode_018a was setting dislpay mode as radar only:

// Coordinate blips are not visible
data.display = BlipData::RadarOnly;

new code of script::createBlip always use ShowBoth dislpay mode:

data.type = type;
switch (type) {
    case BlipData::Contact:
        data.colour = 2;
        break;
    case BlipData::Coord:
        data.colour = 5;
        break;
    default:
        RW_ERROR("Unhandled blip type");
        break;
}
data.target = 0;
data.display = BlipData::ShowBoth;

I think Coord blip type is expected to be only at radar
So I think it may be fixed like that

@ghost
Copy link

ghost commented May 13, 2018

Original game sets display type ShowBoth for coordinate blip, but ignores it during rendering,
see https://www.gtamodding.com/wiki/018A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant