Page MenuHomeFeedback Tracker

CarSCript::GetCarDoorsState returns -1 instead of CarDoorState.DOORS_MISSING
Assigned, NormalPublic

Description

This causes the "Open" action to show when sitting in modded vehicles that do not override GetCarDoorsState (e.g. when the vehicle doesn't have doors) because ActionCarDoors explicitly checks for CarDoorState.DOORS_MISSING. The fix is to make CarScript::GetCarDoorsState return CarDoorState.DOORS_MISSING instead of -1.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding

Event Timeline

lava76 created this task.Sep 5 2024, 5:40 PM
Geez changed the task status from New to Assigned.Sep 9 2024, 12:56 PM