summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Snopek <dsnopek@gmail.com>2023-06-08 09:42:03 -0500
committerDavid Snopek <dsnopek@gmail.com>2023-06-08 09:42:03 -0500
commit3074d228151dae273df7eeb9601461f325e842ed (patch)
treeb645dab854f964f4fa230737c676b0360059d94b /src
parentb5a3aeb8ee87e4ac58c1c695f5f00dbec41a0fc2 (diff)
downloadredot-cpp-3074d228151dae273df7eeb9601461f325e842ed.tar.gz
Clarify error message because there isn't a legacy Godot 4.0 mode anymore
Diffstat (limited to 'src')
-rw-r--r--src/godot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/godot.cpp b/src/godot.cpp
index af840f2..a5af280 100644
--- a/src/godot.cpp
+++ b/src/godot.cpp
@@ -217,7 +217,7 @@ GDExtensionBool GDExtensionBinding::init(GDExtensionInterfaceGetProcAddress p_ge
// Use the legacy interface only to give a nice error.
LegacyGDExtensionInterface *legacy_interface = (LegacyGDExtensionInterface *)p_get_proc_address;
internal::gdextension_interface_print_error_with_message = (GDExtensionInterfacePrintErrorWithMessage)legacy_interface->print_error_with_message;
- ERR_FAIL_V_MSG(false, "Cannot load a GDExtension built for Godot 4.1+ in legacy Godot 4.0 mode.");
+ ERR_FAIL_V_MSG(false, "Cannot load a GDExtension built for Godot 4.1+ in Godot 4.0.");
}
// Load the "print_error_with_message" function first (needed by the ERR_FAIL_NULL_V_MSG() macro).