[Change] Forgot a sprintf=>snprintf a while back.
This commit is contained in:
		
							parent
							
								
									d3408e38b0
								
							
						
					
					
						commit
						405cf65b83
					
				| @ -110,7 +110,7 @@ static int spfx_base_load(char* name, int ttl, int anim, char* gfx, int sx, int | ||||
|   cur->name = strdup(name); | ||||
|   cur->anim = (double)anim / 1000.; | ||||
|   cur->ttl  = (double)ttl / 1000.; | ||||
|   sprintf(buf, SPFX_GFX"%s", gfx); | ||||
|   snprintf(buf, PATH_MAX, SPFX_GFX"%s", gfx); | ||||
|   cur->gfx = gl_newSprite(buf, sx, sy, 0); | ||||
| 
 | ||||
|   return 0; | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Allanis
						Allanis