Skip to content

Commit d88f667

Browse files
authored
Fix dimension -1 after #4184 (#4198)
Fix
1 parent 9070aac commit d88f667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/CClientStreamElement.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void CClientStreamElement::InternalStreamOut(bool ignoreSendingEvent)
9494
void CClientStreamElement::NotifyCreate()
9595
{
9696
// If the dimensions are different, stream out and do not continue
97-
if (GetDimension() != m_pStreamer->m_usDimension)
97+
if (GetDimension() != -1 && GetDimension() != m_pStreamer->m_usDimension)
9898
{
9999
m_bStreamedIn = true; // InternalStreamOut need it
100100
InternalStreamOut(true);

0 commit comments

Comments
 (0)