Skip to content

Commit 7e36177

Browse files
Synchronize changes from 1.6 master branch [ci skip]
df706b5 Addendum to 682b02b
2 parents c12d587 + df706b5 commit 7e36177

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Client/mods/deathmatch/logic/CClientStreamer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ void CClientStreamer::SetDimension(unsigned short usDimension)
163163
{
164164
CClientStreamElement* element = *iter;
165165

166-
if (IsElementShouldVisibleInCurrentDimesnion(element))
166+
if (ShouldElementBeVisibleInCurrentDimension(element))
167167
iter++;
168168
else
169169
{
@@ -322,7 +322,7 @@ void CClientStreamer::RemoveElementFromSectors(CClientStreamElement* pElement)
322322

323323
void CClientStreamer::AddElement(CClientStreamElement* pElement)
324324
{
325-
if (IsElementShouldVisibleInCurrentDimesnion(pElement))
325+
if (ShouldElementBeVisibleInCurrentDimension(pElement))
326326
AddElementInSectors(pElement);
327327
else
328328
m_outsideCurrentDimensionElements.push_back(pElement);
@@ -744,7 +744,7 @@ void CClientStreamer::OnElementForceStreamOut(CClientStreamElement* pElement)
744744

745745
void CClientStreamer::OnElementDimension(CClientStreamElement* pElement)
746746
{
747-
if (IsElementShouldVisibleInCurrentDimesnion(pElement))
747+
if (ShouldElementBeVisibleInCurrentDimension(pElement))
748748
{
749749
if (!pElement->GetStreamSector())
750750
{

0 commit comments

Comments
 (0)