From 70bec7322b7742117a4915dcde256827d6353d2d Mon Sep 17 00:00:00 2001 From: Peter0x44 Date: Mon, 17 Jun 2024 18:27:36 +0100 Subject: [PATCH] NX: Fix -Wmisleading-indentation warning /__w/quakespasm/quakespasm/source/gl_rpart.c: In function 'QMB_InitParticles': /__w/quakespasm/quakespasm/source/gl_rpart.c:509:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 509 | for (i = 0 ; i < 5 ; i++) | ^~~ /__w/quakespasm/quakespasm/source/gl_rpart.c:219:1: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 219 | do { \ | ^~ --- source/gl_rpart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gl_rpart.c b/source/gl_rpart.c index 95647ec..5c9351d 100644 --- a/source/gl_rpart.c +++ b/source/gl_rpart.c @@ -508,8 +508,8 @@ void QMB_InitParticles (void) for (i = 0 ; i < 5 ; i++) ADD_PARTICLE_TEXTURE(ptex_q3blood, glpic, i, 5, i * 64, 128, (i + 1) * 64, 192); - ADD_PARTICLE_TEXTURE(ptex_q3smoke, glpic, 0, 1, 256, 0, 384, 128); - ADD_PARTICLE_TEXTURE(ptex_q3blood_trail, glpic, 0, 1, 320, 128, 384, 192); + ADD_PARTICLE_TEXTURE(ptex_q3smoke, glpic, 0, 1, 256, 0, 384, 128); + ADD_PARTICLE_TEXTURE(ptex_q3blood_trail, glpic, 0, 1, 320, 128, 384, 192); loading_cur_step++; SCR_UpdateScreen ();