summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp
index e76b0e3..8250018 100644
--- a/src/pso/TObject.cpp
+++ b/src/pso/TObject.cpp
@@ -100,7 +100,7 @@ void TObject::render_nodes2() {
void TObject::render_shadows_for_each_node() {
FOREACH_NODE(TObject, this->down, child) {
- if (!child->get_flags(BIT_8)) {
+ if (!child->get_flags(DISALLOW_RENDER_SHADOWS)) {
child->render_shadows();
child->render_shadows_for_each_node();
}