diff --git a/CSFML/VC2008/csfml-audio.vcproj b/CSFML/VC2008/csfml-audio.vcproj index 6eb1a0b88..2955f1a2c 100644 --- a/CSFML/VC2008/csfml-audio.vcproj +++ b/CSFML/VC2008/csfml-audio.vcproj @@ -43,15 +43,16 @@ /> @@ -129,6 +130,7 @@ /> @@ -214,15 +216,16 @@ /> @@ -286,6 +289,7 @@ /> diff --git a/CSFML/VC2008/csfml-graphics.vcproj b/CSFML/VC2008/csfml-graphics.vcproj index d9e50bf98..517ec9bad 100644 --- a/CSFML/VC2008/csfml-graphics.vcproj +++ b/CSFML/VC2008/csfml-graphics.vcproj @@ -49,15 +49,16 @@ /> @@ -138,6 +139,7 @@ /> @@ -226,15 +228,16 @@ /> @@ -301,6 +304,7 @@ /> diff --git a/CSFML/VC2008/csfml-network.vcproj b/CSFML/VC2008/csfml-network.vcproj index 6ce4f1197..d342bee5a 100644 --- a/CSFML/VC2008/csfml-network.vcproj +++ b/CSFML/VC2008/csfml-network.vcproj @@ -43,15 +43,16 @@ /> @@ -129,6 +130,7 @@ /> @@ -214,15 +216,16 @@ /> @@ -286,6 +289,7 @@ /> diff --git a/CSFML/src/SFML/Network/Packet.cpp b/CSFML/src/SFML/Network/Packet.cpp index bdc808aa6..91158b92b 100644 --- a/CSFML/src/SFML/Network/Packet.cpp +++ b/CSFML/src/SFML/Network/Packet.cpp @@ -42,9 +42,9 @@ namespace /// Helper function to read a variable from a packet //////////////////////////////////////////////////////////// template - T PacketRead(sfPacket* Packet, T Default = 0) + T PacketRead(sfPacket* Packet) { - CSFML_CHECK_RETURN(Packet, Default); + CSFML_CHECK_RETURN(Packet, 0); T Value; Packet->This >> Value;