summaryrefslogtreecommitdiff
path: root/include/Actor/ActorRef.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Actor/ActorRef.hpp')
-rw-r--r--include/Actor/ActorRef.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Actor/ActorRef.hpp b/include/Actor/ActorRef.hpp
index b98c86a9..5c9bc461 100644
--- a/include/Actor/ActorRef.hpp
+++ b/include/Actor/ActorRef.hpp
@@ -7,4 +7,9 @@ struct ActorRef {
/* 0 */ s32 id;
/* 4 */ s32 index;
/* 8 */
+
+ inline ActorRef() {
+ id = -1;
+ index = -1;
+ }
};