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

Assertion error in TurnOnSectorLocator when helicopter is shot out of the sky #2

Closed
Asdow opened this issue Oct 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Asdow
Copy link
Contributor

Asdow commented Oct 7, 2022

How to replicate: Fly helicopter through hostile sectors until it is shot down, with the map display mode set such that if clause in Map Screen Interface.cpp on line 6735 evaluates to true. Then the Assert on line 6738 gets triggered.

if ( gusMapDisplayColourMode != MAP_DISPLAY_AIRSPACE && gusMapDisplayColourMode != MAP_DISPLAY_AIRSPACE_COLOURED_SAMS ) { // can't use his profile, he's where his chopper is Assert( iHelicopterVehicleId != -1 ); gsSectorLocatorX = pVehicleList[ iHelicopterVehicleId ].sSectorX; gsSectorLocatorY = pVehicleList[ iHelicopterVehicleId ].sSectorY; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants