PlayerSpawn now *actually* uses the new print macros.

This commit is contained in:
2026-09-13 00:50:54 -04:00
parent 36c7f87dc0
commit bd78ca9046
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ bool PlayerOrigin::spawn_player(Node3D *parent, Ref<PackedScene> player) const
#ifdef DEBUG_ENABLED #ifdef DEBUG_ENABLED
else else
{ {
UtilityFunctions::push_error("Empty sublevel in PlayerSpawn object \"", this->tag, "\""); PRINT_ERROR(PLAYERSPAWN_LOG_TAG, "Empty sublevel in PlayerSpawn object \"", this->tag, "\"");
} }
#endif #endif
} }
+2
View File
@@ -14,6 +14,8 @@
#include <godot_cpp/classes/packed_scene.hpp> #include <godot_cpp/classes/packed_scene.hpp>
using namespace godot; using namespace godot;
#define PLAYERSPAWN_LOG_TAG "PlayerSpawn"
#define PLAYER_ORIGIN_TAG "origin" #define PLAYER_ORIGIN_TAG "origin"