summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pso/TObject.h2
-rw-r--r--src/pso/TObject2.cpp8
2 files changed, 10 insertions, 0 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h
index 1594d33..7f560c2 100644
--- a/include/pso/TObject.h
+++ b/include/pso/TObject.h
@@ -23,6 +23,8 @@ public:
TObject *up;
TObject *down;
public:
+ void set_flag_4();
+ void clear_flag_4();
void set_flag_3();
void clear_flag_3();
void set_flag_0();
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index 1b82a64..60eec0b 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -23,3 +23,11 @@ void TObject::clear_flag_3() {
void TObject::set_flag_3() {
set_flags(8);
}
+
+void TObject::clear_flag_4() {
+ clear_flags(0x10);
+}
+
+void TObject::set_flag_4() {
+ set_flags(0x10);
+}