File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed
Client/mods/deathmatch/logic Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ void CClientStreamElement::InternalStreamIn(bool bInstantly)
61
61
}
62
62
}
63
63
64
- void CClientStreamElement::InternalStreamOut (bool ignoreSendingEvent )
64
+ void CClientStreamElement::InternalStreamOut ()
65
65
{
66
66
if (m_bStreamedIn)
67
67
{
@@ -83,24 +83,13 @@ void CClientStreamElement::InternalStreamOut(bool ignoreSendingEvent)
83
83
}
84
84
}
85
85
86
- if (!ignoreSendingEvent)
87
- {
88
- CLuaArguments Arguments;
89
- CallEvent (" onClientElementStreamOut" , Arguments, true );
90
- }
86
+ CLuaArguments Arguments;
87
+ CallEvent (" onClientElementStreamOut" , Arguments, true );
91
88
}
92
89
}
93
90
94
91
void CClientStreamElement::NotifyCreate ()
95
92
{
96
- // If the dimensions are different, stream out and do not continue
97
- if (GetDimension () != -1 && GetDimension () != m_pStreamer->m_usDimension )
98
- {
99
- m_bStreamedIn = true ; // InternalStreamOut need it
100
- InternalStreamOut (true );
101
- return ;
102
- }
103
-
104
93
// Update common atrributes
105
94
if (!m_bDoubleSidedInit)
106
95
m_bDoubleSided = IsDoubleSided ();
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class CClientStreamElement : public CClientEntity
30
30
CClientStreamSector* GetStreamSector () { return m_pStreamSector; }
31
31
bool IsStreamedIn () { return m_bStreamedIn; }
32
32
void InternalStreamIn (bool bInstantly);
33
- void InternalStreamOut (bool ignoreSendingEvent = false );
33
+ void InternalStreamOut ();
34
34
virtual void StreamIn (bool bInstantly) = 0;
35
35
virtual void StreamOut () = 0;
36
36
virtual void NotifyCreate ();
You can’t perform that action at this time.
0 commit comments