diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-03 20:50:52 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-03 20:50:52 -0400 |
commit | 5f168f5372b3e350711a1be72064ebccbf061e5c (patch) | |
tree | 74fa9b0bbd61b20ccf393cf7fb5db038eb0bec73 | |
parent | 6fffdb829cb9d54e9c3b60b5d48f05c91023bba3 (diff) |
TObject: Add `{set,clear}_flag_4()`
-rw-r--r-- | include/pso/TObject.h | 2 | ||||
-rw-r--r-- | src/pso/TObject2.cpp | 8 |
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); +} |