Use enum instead of int in virtual methods return type
This commit is contained in:
parent
8612c12be6
commit
9e9eac4676
24 changed files with 88 additions and 84 deletions
|
|
@ -163,7 +163,7 @@ Error MultiplayerPeerExtension::put_packet(const uint8_t *p_buffer, int p_buffer
|
|||
if (!GDVIRTUAL_CALL(_put_packet_script, a, err)) {
|
||||
return FAILED;
|
||||
}
|
||||
return (Error)err;
|
||||
return err;
|
||||
}
|
||||
WARN_PRINT_ONCE("MultiplayerPeerExtension::_put_packet_native is unimplemented!");
|
||||
return FAILED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue