From d7499e8165bf6ef92d027e3b52908ca7dcfd8533 Mon Sep 17 00:00:00 2001 From: Dethrace Labs <78985374+dethrace-labs@users.noreply.github.com> Date: Sat, 29 Nov 2025 08:03:53 +1300 Subject: [PATCH] ApplySplash matching --- src/DETHRACE/common/piping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DETHRACE/common/piping.c b/src/DETHRACE/common/piping.c index 9b6c8abf..7e13dcf5 100644 --- a/src/DETHRACE/common/piping.c +++ b/src/DETHRACE/common/piping.c @@ -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);