diff options
| author | Juan Linietsky | 2017-08-21 19:56:08 -0300 |
|---|---|---|
| committer | GitHub | 2017-08-21 19:56:08 -0300 |
| commit | 2cc83092498d3b82fa8a3aba37c32ad887d19c2c (patch) | |
| tree | 4d2def0a62847170a86c3f134f234af8ae45f0b9 /modules/enet/networked_multiplayer_enet.cpp | |
| parent | 92410df24cdf296ad63250274d69b2019996423e (diff) | |
| parent | 32dd9a9f668db31e348c5ef5bc181cdb91c07299 (diff) | |
| download | godot-2cc83092498d3b82fa8a3aba37c32ad887d19c2c.tar.gz godot-2cc83092498d3b82fa8a3aba37c32ad887d19c2c.tar.zst godot-2cc83092498d3b82fa8a3aba37c32ad887d19c2c.zip | |
Diffstat (limited to 'modules/enet/networked_multiplayer_enet.cpp')
| -rw-r--r-- | modules/enet/networked_multiplayer_enet.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/enet/networked_multiplayer_enet.cpp b/modules/enet/networked_multiplayer_enet.cpp index 68d5c9e61..c76e0c667 100644 --- a/modules/enet/networked_multiplayer_enet.cpp +++ b/modules/enet/networked_multiplayer_enet.cpp @@ -658,11 +658,11 @@ void NetworkedMultiplayerENet::_bind_methods() { ClassDB::bind_method(D_METHOD("get_compression_mode"), &NetworkedMultiplayerENet::get_compression_mode); ClassDB::bind_method(D_METHOD("set_bind_ip", "ip"), &NetworkedMultiplayerENet::set_bind_ip); - BIND_CONSTANT(COMPRESS_NONE); - BIND_CONSTANT(COMPRESS_RANGE_CODER); - BIND_CONSTANT(COMPRESS_FASTLZ); - BIND_CONSTANT(COMPRESS_ZLIB); - BIND_CONSTANT(COMPRESS_ZSTD); + BIND_ENUM_CONSTANT(COMPRESS_NONE); + BIND_ENUM_CONSTANT(COMPRESS_RANGE_CODER); + BIND_ENUM_CONSTANT(COMPRESS_FASTLZ); + BIND_ENUM_CONSTANT(COMPRESS_ZLIB); + BIND_ENUM_CONSTANT(COMPRESS_ZSTD); } NetworkedMultiplayerENet::NetworkedMultiplayerENet() { |
