summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:27:20 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:27:20 -0400
commit249ceb596685805749f9a08f535d2028605b43ce (patch)
tree1f153fef2a1bd1d0dac9a6b2664ff08f57bbe40e
parent9f45cf21908d3a024481ccbd642b63e5c5b4897c (diff)
TObject: Rename `clear_flag_4()` -> `allow_rendering()`
-rw-r--r--include/pso/TObject.h2
-rw-r--r--src/pso/TObject2.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h
index b6930f8..96fa1f0 100644
--- a/include/pso/TObject.h
+++ b/include/pso/TObject.h
@@ -55,7 +55,7 @@ public:
TObject *down;
public:
void disallow_rendering();
- void clear_flag_4();
+ void allow_rendering();
void set_flag_3();
void clear_flag_3();
void queue_destruction();
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index 1774847..7c9e1c3 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -24,7 +24,7 @@ void TObject::set_flag_3() {
set_flags(BIT_3);
}
-void TObject::clear_flag_4() {
+void TObject::allow_rendering() {
clear_flags(DISALLOW_RENDER);
}