ApplyModelGeometry matching

This commit is contained in:
Dethrace Labs 2025-11-29 07:59:23 +13:00 committed by Dethrace Engineering Department
parent ec7f99f17f
commit 11d6a18070
1 changed files with 1 additions and 1 deletions

View File

@ -1255,7 +1255,7 @@ void ApplyModelGeometry(tPipe_chunk** pChunk) {
br_model* model_ptr;
tCar_spec* car;
if (((*pChunk)->subject_index & 0xff00) == 0) {
if (((*pChunk)->subject_index >> 8) == 0) {
car = &gProgram_state.current_car;
} else {
car = GetCarSpec((*pChunk)->subject_index >> 8, (*pChunk)->subject_index & 0xff);