PlayerSpawn now *actually* uses the new print macros.
This commit is contained in:
@@ -68,7 +68,7 @@ bool PlayerOrigin::spawn_player(Node3D *parent, Ref<PackedScene> player) const
|
||||
#ifdef DEBUG_ENABLED
|
||||
else
|
||||
{
|
||||
UtilityFunctions::push_error("Empty sublevel in PlayerSpawn object \"", this->tag, "\"");
|
||||
PRINT_ERROR(PLAYERSPAWN_LOG_TAG, "Empty sublevel in PlayerSpawn object \"", this->tag, "\"");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -14,6 +14,8 @@
|
||||
#include <godot_cpp/classes/packed_scene.hpp>
|
||||
using namespace godot;
|
||||
|
||||
#define PLAYERSPAWN_LOG_TAG "PlayerSpawn"
|
||||
|
||||
#define PLAYER_ORIGIN_TAG "origin"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user