aboutsummaryrefslogtreecommitdiff
path: root/client/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-07 21:27:16 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-07 21:27:16 +0200
commit3e65c70da770fa31fc8acc6ab9374d908cf1ed17 (patch)
tree14f8d4c708faccc8b3f992a022f940c00ed694f9 /client/main.c
parent8c8322a7a0c251d595a0df054324f82d41966e0a (diff)
implement orders
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);