View Single Post
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 01-09-2023 , 09:08   Compiler shows 'loose indentation' despite code being ordered
Reply With Quote #1

Hello, this is the warning i get:



This is how the code looks like:



Here is the source code:

Code:
	    // Custom sounds
             new i
    
             for (i = 0; i < ZM_DEATH; i++)
             precache_sound(death_zm[i])
    
             for (i = 0; i < ZM_IDLE; i++)
             precache_sound(idle_zm[i])
    
             for (i = 0; i < ZM_PAIN; i++)
             precache_sound(pain_zm[i])
}
Why does the compiler says the code isn't well ordered? I don't see any disorder. Would you tell me how to fix the warning, please?

Last edited by GlobalPlague; 01-09-2023 at 09:09.
GlobalPlague is offline