about summary refs log tree commit diff homepage
path: root/torus.h
diff options
context:
space:
mode:
Diffstat (limited to 'torus.h')
-rw-r--r--torus.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/torus.h b/torus.h
index 968c9f6..3a98fe3 100644
--- a/torus.h
+++ b/torus.h
@@ -66,7 +66,6 @@ struct ServerMessage {
 
 enum ClientMessageType {
     CLIENT_MOVE,
-    CLIENT_COLOR,
     CLIENT_PUT,
 };
 
@@ -77,7 +76,9 @@ struct ClientMessage {
             int8_t dx;
             int8_t dy;
         } m;
-        uint8_t c;
-        char p;
+        struct {
+            uint8_t color;
+            char cell;
+        } p;
     } data;
 };