summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}