diff --git a/Source/Engine/Level/Actor.h b/Source/Engine/Level/Actor.h
index 1133eceae..5281f5c83 100644
--- a/Source/Engine/Level/Actor.h
+++ b/Source/Engine/Level/Actor.h
@@ -20,9 +20,6 @@ class PhysicsScene;
class SceneRendering;
class SceneRenderTask;
-// Maximum tag index is used as an invalid value
-#define ACTOR_TAG_INVALID 255
-
///
/// Base class for all actor objects on the scene.
///
@@ -116,13 +113,13 @@ public:
API_FUNCTION() bool HasTag() const;
///
- /// Determines whether this actor has given tag assigned.
+ /// Determines whether this actor has given tag assigned (exact match).
///
/// The tag to check.
API_FUNCTION() bool HasTag(const Tag& tag) const;
///
- /// Determines whether this actor has given tag assigned.
+ /// Determines whether this actor has given tag assigned (exact match).
///
/// The tag to check.
API_FUNCTION() bool HasTag(const StringView& tag) const;
diff --git a/Source/Engine/Level/Tags.cs b/Source/Engine/Level/Tags.cs
index cab4ff81a..7e31f7bc5 100644
--- a/Source/Engine/Level/Tags.cs
+++ b/Source/Engine/Level/Tags.cs
@@ -25,7 +25,7 @@ namespace FlaxEngine
internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
{
// Initialize structure with default values to replicate C++ deserialization behavior
- this.Index = -1;
+ Index = -1;
}
///