You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Initialize class/struct variables with default values in modules/
This commit is contained in:
@@ -148,7 +148,7 @@ Error BitmapFontDataFallback::load_from_file(const String &p_filename, int p_bas
|
||||
char_map[idx] = c;
|
||||
} else if (type == "kerning") {
|
||||
KerningPairKey kpk;
|
||||
float k = 0;
|
||||
float k = 0.0;
|
||||
if (keys.has("first")) {
|
||||
kpk.A = keys["first"].to_int();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user