Skip to content

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

Description

@Asdow

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; }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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