Skip to content

[BUG] WINGAREA = 0 crashes YSFlight #95

@decaff42

Description

@decaff42

YSCE Build Number
Upstream, YSFlight 2015, OGL2

System Specifications
Mac OS

Describe the bug
When the DATVAR WINGAREA is set to 0, no mater what altitude the aircraft is spawned at, it will die. The player will be presented with a 100% black screen.

To Reproduce

  1. Set Wing Area to 0.0
  2. Fly Airplane

Expected behavior
An error should be generated or YSCE should handle situations where invalid DATVAR entries are encountered.
For WINGAREA in particular, if YSCE detects that it is set to zero, it should default to 1.0m^2

Metadata

Metadata

Assignees

Labels

aircraftBug/Feature relates to aircraft.bugSomething isn't workingfix providedReporter has included a potential solution to the bug.inputBug/Feature relates to input.physicsBug/Feature relates to physics/aerodynamics.upstreamIssue affects YSFlight source as well as YSCE.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions