summaryrefslogtreecommitdiff
path: root/servers/physics/broad_phase_basic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics/broad_phase_basic.cpp')
-rw-r--r--servers/physics/broad_phase_basic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/physics/broad_phase_basic.cpp b/servers/physics/broad_phase_basic.cpp
index 959718a252..c6565ac2e9 100644
--- a/servers/physics/broad_phase_basic.cpp
+++ b/servers/physics/broad_phase_basic.cpp
@@ -30,9 +30,10 @@
#include "broad_phase_basic.h"
#include "list.h"
#include "print_string.h"
+
BroadPhaseSW::ID BroadPhaseBasic::create(CollisionObjectSW *p_object, int p_subindex) {
- ERR_FAIL_COND_V(p_object == NULL, NULL);
+ ERR_FAIL_COND_V(p_object == NULL, 0);
current++;