1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Remove duplicate ERR_PRINTS macro

This commit is contained in:
Marcel Admiraal
2021-06-16 11:56:25 +01:00
parent 2d3c0d311c
commit 5a58516231
74 changed files with 158 additions and 167 deletions

View File

@@ -57,10 +57,10 @@
// <--------------- Joint creation asserts
/// Assert the body is assigned to a space
#define JointAssertSpace(body, bIndex, ret) \
if (!body->get_space()) { \
ERR_PRINTS("Before create a joint the Body" + String(bIndex) + " must be added to a space!"); \
return ret; \
#define JointAssertSpace(body, bIndex, ret) \
if (!body->get_space()) { \
ERR_PRINT("Before create a joint the Body" + String(bIndex) + " must be added to a space!"); \
return ret; \
}
/// Assert the two bodies of joint are in the same space