shithub: pokecrystal

Download patch

ref: 3c8d034a6feb2a447daeb26e9f50aadc12fb0383
parent: 175cc6536a0667ac1913d03f1041f924a7368dd1
author: SnDream <[email protected]>
date: Sun Jun 25 10:49:57 EDT 2017

pokemon_animation's variable is not initialized (#374)


--- a/tools/pokemon_animation.c
+++ b/tools/pokemon_animation.c
@@ -229,7 +229,7 @@
 	struct Frames frames = {0};
 	struct Bitmasks bitmasks = {0};
 	int ch;
-	bool use_bitmasks, use_frames;
+	bool use_bitmasks = false, use_frames = false;
 	char* tilemap_filename;
 	char* dimensions_filename;