aboutsummaryrefslogtreecommitdiff
path: root/client/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/main.c')
-rw-r--r--client/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/main.c b/client/main.c
index b5af0e8..dcbc16a 100644
--- a/client/main.c
+++ b/client/main.c
@@ -7,7 +7,11 @@
#include "time.h"
#include "ui.h"
-w2_s_client_state g_w2_state = {.ping_received = true};
+w2_s_client_state g_w2_state = {
+ .ping_received = true,
+ .map_height = W2_MAP_DEFAULT_HEIGHT,
+ .map_width = W2_MAP_DEFAULT_WIDTH,
+};
int main(int argc, char **argv) {
w2_client_setup(argc, argv);