From aad644514f57e003e970f6050c9554650cac82f9 Mon Sep 17 00:00:00 2001 From: QbieShay Date: Fri, 27 Oct 2023 01:02:23 +0200 Subject: [PATCH] Fixed damp as friction not updating shader code --- scene/resources/particle_process_material.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/resources/particle_process_material.h b/scene/resources/particle_process_material.h index 83228104b21..d3d8f89a15c 100644 --- a/scene/resources/particle_process_material.h +++ b/scene/resources/particle_process_material.h @@ -112,7 +112,7 @@ private: // Consider this when extending ParticleFlags, EmissionShape, or SubEmitterMode. uint64_t texture_mask : PARAM_MAX; uint64_t texture_color : 1; - uint64_t particle_flags : PARTICLE_FLAG_MAX - 1; + uint64_t particle_flags : PARTICLE_FLAG_MAX; uint64_t emission_shape : 3; uint64_t invalid_key : 1; uint64_t has_emission_color : 1;