summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-16 15:47:49 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-16 15:54:22 -0400
commit8f97c6a91c97c8ba2b40040928a32e21752ea937 (patch)
tree08a57f70efb84619b84f22e176bdcc319156bb92 /src/pso
parent0523e8a94a62d318d811131a74f8fe435c2492da (diff)
TObject: Add `toggle_flag_3()`
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TObject2.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index 5b1a90a..f020bd3 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -28,6 +28,10 @@ void TObject::set_flag_3() {
set_flags(BIT_3);
}
+void TObject::toggle_flag_3() {
+ toggle_flags(BIT_3);
+}
+
void TObject::allow_rendering() {
clear_flags(DISALLOW_RENDER);
}