Initialize class/struct variables with default values in modules/
This commit is contained in:
parent
57e2822a05
commit
f7209b459b
100 changed files with 533 additions and 772 deletions
|
|
@ -33,15 +33,6 @@
|
|||
#include "core/os/os.h"
|
||||
|
||||
WebSocketMultiplayerPeer::WebSocketMultiplayerPeer() {
|
||||
_is_multiplayer = false;
|
||||
_peer_id = 0;
|
||||
_target_peer = 0;
|
||||
_refusing = false;
|
||||
|
||||
_current_packet.source = 0;
|
||||
_current_packet.destination = 0;
|
||||
_current_packet.size = 0;
|
||||
_current_packet.data = nullptr;
|
||||
}
|
||||
|
||||
WebSocketMultiplayerPeer::~WebSocketMultiplayerPeer() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue