summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pso/TObject2.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index 7c9e1c3..5b1a90a 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -1,5 +1,9 @@
#include "pso/TObject.h"
+void TObject::allow_rendering_shadows() {
+ clear_flags(DISALLOW_RENDER_SHADOWS);
+}
+
void TObject::clear_flag_9() {
clear_flags(BIT_9);
}
@@ -31,3 +35,7 @@ void TObject::allow_rendering() {
void TObject::disallow_rendering() {
set_flags(DISALLOW_RENDER);
}
+
+void TObject::disallow_rendering_shadows() {
+ set_flags(DISALLOW_RENDER_SHADOWS);
+}