Use enum instead of int in virtual methods return type

This commit is contained in:
Raul Santos
2023-01-15 20:33:20 +01:00
parent 8612c12be6
commit 9e9eac4676
24 changed files with 88 additions and 84 deletions

View File

@@ -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;