Browse Source

Fix use of comma instead of semicolon

Signed-off-by: Quentin Guidée <[email protected]>
Quentin Guidée 2 years ago
parent
commit
e0f1e02cc7

+ 1 - 1
modules/gdscript/gdscript_codegen.h

@@ -59,7 +59,7 @@ public:
 			type = p_type;
 		}
 		Address(AddressMode p_mode, uint32_t p_address, const GDScriptDataType &p_type = GDScriptDataType()) {
-			mode = p_mode,
+			mode = p_mode;
 			address = p_address;
 			type = p_type;
 		}

+ 1 - 1
modules/gdscript/language_server/godot_lsp.h

@@ -702,7 +702,7 @@ struct DiagnosticRelatedInformation {
 
 	Dictionary to_json() const {
 		Dictionary dict;
-		dict["location"] = location.to_json(),
+		dict["location"] = location.to_json();
 		dict["message"] = message;
 		return dict;
 	}

+ 1 - 1
servers/rendering/storage/environment_storage.cpp

@@ -283,7 +283,7 @@ void RendererEnvironmentStorage::environment_set_volumetric_fog(RID p_env, bool
 	env->volumetric_fog_scattering = p_albedo;
 	env->volumetric_fog_emission = p_emission;
 	env->volumetric_fog_emission_energy = p_emission_energy;
-	env->volumetric_fog_anisotropy = p_anisotropy,
+	env->volumetric_fog_anisotropy = p_anisotropy;
 	env->volumetric_fog_length = p_length;
 	env->volumetric_fog_detail_spread = p_detail_spread;
 	env->volumetric_fog_gi_inject = p_gi_inject;