summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:26:20 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-08 13:26:20 -0400
commit9f45cf21908d3a024481ccbd642b63e5c5b4897c (patch)
treefeefe3dc544e6afd3d7f2099db9a8653e995617e
parentbd6b72e3a134313d87979212d559003269cbf402 (diff)
TObject: Rename `set_flag_4()` -> `disallow_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 ce00a97..b6930f8 100644
--- a/include/pso/TObject.h
+++ b/include/pso/TObject.h
@@ -54,7 +54,7 @@ public:
TObject *up;
TObject *down;
public:
- void set_flag_4();
+ void disallow_rendering();
void clear_flag_4();
void set_flag_3();
void clear_flag_3();
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index 4549d94..1774847 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -28,6 +28,6 @@ void TObject::clear_flag_4() {
clear_flags(DISALLOW_RENDER);
}
-void TObject::set_flag_4() {
+void TObject::disallow_rendering() {
set_flags(DISALLOW_RENDER);
}