Updated sfPacket_CanRead in CSFML
This commit is contained in:
parent
94ab420dd3
commit
7bf0bdf161
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ sfBool sfPacket_EndOfPacket(const sfPacket* packet)
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
sfBool sfPacket_CanRead(const sfPacket* packet)
|
sfBool sfPacket_CanRead(const sfPacket* packet)
|
||||||
{
|
{
|
||||||
CSFML_CALL_RETURN(packet, operator bool(), sfFalse);
|
CSFML_CHECK_RETURN(packet, sfFalse);
|
||||||
|
return packet->This ? sfTrue : sfFalse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue