1
0

Fixed FreeBSD build (#4061)

This commit is contained in:
Bond-009 2017-10-16 19:39:53 +02:00 committed by peterbell10
parent 76a0971279
commit 05e7be7f73

View File

@ -79,8 +79,11 @@ UInt32 cProtocol_1_9_0::GetPacketId(eOutgoingPackets a_Packet)
case sendWindowOpen: return 0x13;
case sendWindowProperty: return 0x15;
}
LOGWARNING("Retrieving packet ID for unknown packet type %d!", a_Packet);
return 0;
ASSERT(!"Retrieving packet ID for unknown packet type");
#ifndef __clang__
LOGWARNING("Retrieving packet ID for unknown packet type %d!", a_Packet);
return 0;
#endif
}