Index: lib/netplay/nettypes.c
===================================================================
--- lib/netplay/nettypes.c	(revision 3732)
+++ lib/netplay/nettypes.c	(working copy)
@@ -67,6 +67,7 @@
 	// If the packet is invalid or failed to compile
 	if (NETgetPacketDir() != PACKET_ENCODE || !NetMsg.status)
 	{
+		ASSERT(TRUE,"packet is invalid or failed to compile");
 		return FALSE;
 	}
 
@@ -96,6 +97,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (sizeof(int8_t) + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 
@@ -122,6 +124,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (sizeof(uint8_t) + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 
@@ -148,6 +151,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (sizeof(int16_t) + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 
@@ -174,6 +178,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (sizeof(uint16_t) + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 
@@ -200,6 +205,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (sizeof(int32_t) + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 
@@ -226,6 +232,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (sizeof(uint32_t) + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 
@@ -314,6 +321,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (len + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 
@@ -351,6 +364,7 @@
 	// Make sure there is enough data/space left in the packet
 	if (len + NetMsg.size > MaxMsgSize || !NetMsg.status)
 	{
+		ASSERT(TRUE,"Not enough data/space left in the packet!");
 		return NetMsg.status = FALSE;
 	}
 

