There was an error while loading. Please reload this page.
2 parents b3fdb73 + 6d51c60 commit 9f51cd3Copy full SHA for 9f51cd3
1 file changed
Core/GameEngine/Source/GameClient/RadiusDecal.cpp
@@ -66,8 +66,8 @@ void RadiusDecalTemplate::createRadiusDecal(const Coord3D& pos, Real radius, con
66
// it is now considered nonEmpty, regardless of the state of m_decal, etc
67
result.m_empty = false;
68
69
- if (!m_onlyVisibleToOwningPlayer ||
70
- owningPlayer->getPlayerIndex() == ThePlayerList->getLocalPlayer()->getPlayerIndex())
+ if (!m_onlyVisibleToOwningPlayer || owningPlayer->getPlayerIndex() == ThePlayerList->getLocalPlayer()->getPlayerIndex()
+ || ThePlayerList->getLocalPlayer()->isPlayerObserver())
71
{
72
Shadow::ShadowTypeInfo decalInfo;
73
decalInfo.allowUpdates = FALSE; // shadow texture will never update
0 commit comments