mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[raknet] Match RakPeer::UnregisterAsRemoteProcedureCall(...)
This commit is contained in:
parent
d685d6a6d6
commit
1af47512f6
@ -1106,7 +1106,7 @@ void RakPeer::RegisterClassMemberRPC( char* uniqueID, void *functionPointer )
|
|||||||
// --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
void RakPeer::UnregisterAsRemoteProcedureCall( char* uniqueID )
|
void RakPeer::UnregisterAsRemoteProcedureCall( char* uniqueID )
|
||||||
{
|
{
|
||||||
if ( uniqueID == 0 || uniqueID[ 0 ] == 0 )
|
/*if ( uniqueID == 0 || uniqueID[ 0 ] == 0 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Don't call this while running because if you remove RPCs and add them they will not match the indices on the other systems anymore
|
// Don't call this while running because if you remove RPCs and add them they will not match the indices on the other systems anymore
|
||||||
@ -1117,7 +1117,7 @@ void RakPeer::UnregisterAsRemoteProcedureCall( char* uniqueID )
|
|||||||
|
|
||||||
rpcMap.RemoveNode(uniqueID);
|
rpcMap.RemoveNode(uniqueID);
|
||||||
|
|
||||||
/*
|
|
||||||
char uppercaseUniqueID[ 256 ];
|
char uppercaseUniqueID[ 256 ];
|
||||||
|
|
||||||
strcpy( uppercaseUniqueID, uniqueID );
|
strcpy( uppercaseUniqueID, uniqueID );
|
||||||
|
Loading…
Reference in New Issue
Block a user