ApplySplash matching

This commit is contained in:
Dethrace Labs 2025-11-29 08:03:53 +13:00
parent 3647c7fc7f
commit d7499e8165
1 changed files with 1 additions and 1 deletions

View File

@ -1424,7 +1424,7 @@ void ApplyFlame(tPipe_chunk** pChunk) {
void ApplySplash(tPipe_chunk** pChunk) {
tCar_spec* c;
if (((*pChunk)->subject_index & 0xff00) == 0) {
if (((*pChunk)->subject_index >> 8) == 0) {
c = &gProgram_state.current_car;
} else {
c = GetCarSpec((*pChunk)->subject_index >> 8, (*pChunk)->subject_index & 0xff);