ApplyDamage matching

This commit is contained in:
Dethrace Labs 2025-11-29 08:25:38 +13:00
parent 0e65b8a35e
commit 552d43ca9c
1 changed files with 1 additions and 1 deletions

View File

@ -1539,7 +1539,7 @@ void ApplyDamage(tPipe_chunk** pChunk) {
tCar_spec* car;
int i;
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);