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);