UndoModelGeometry matching

This commit is contained in:
Dethrace Labs 2025-11-30 14:08:30 +13:00
parent f7e2f79915
commit 2789f39185
1 changed files with 1 additions and 1 deletions

View File

@ -1791,7 +1791,7 @@ void UndoModelGeometry(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 & 0x00ff);