ApplySpecial matching

This commit is contained in:
Dethrace Labs 2025-11-29 08:28:48 +13:00 committed by Dethrace Engineering Department
parent 66e5e6263f
commit 8dc3f5b98c
1 changed files with 5 additions and 7 deletions

View File

@ -1555,21 +1555,19 @@ void ApplyDamage(tPipe_chunk** pChunk) {
void ApplySpecial(tPipe_chunk** pChunk) {
switch ((*pChunk)->subject_index) {
case 0:
case ePipe_special_fade:
if (fabs(GetReplayRate()) <= 1.f) {
FadePaletteDown();
}
break;
case 1:
case ePipe_special_giant_ped_on:
gPed_scale_factor = 2.0f;
break;
case 2:
gPed_scale_factor = 1.0f;
break;
case 3:
case ePipe_special_min_ped_on:
gPed_scale_factor = 0.5f;
break;
case 4:
case ePipe_special_giant_ped_off:
case ePipe_special_min_ped_off:
gPed_scale_factor = 1.0f;
break;
}