Explorar o código

Revert "Ref Count Catch"

This reverts commit dbf9275037402bbd619d4c9e007445ee2d19fff7.
Azaezel %!s(int64=10) %!d(string=hai) anos
pai
achega
6ee81d9420
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      Engine/source/sim/netEvent.cpp

+ 0 - 2
Engine/source/sim/netEvent.cpp

@@ -344,8 +344,6 @@ void NetConnection::eventReadPacket(BitStream *bstream)
       if(unguaranteedPhase)
       {
          evt->process(this);
-         if (evt->getRefCount() == 0)
-            evt->incRef();
          evt->decRef();
          if(mErrorBuffer.isNotEmpty())
             return;