about summary refs log tree commit diff homepage
path: root/client.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-21 13:29:51 -0400
committerJune McEnroe <june@causal.agency>2018-08-21 13:29:51 -0400
commit642e1fe5360044ebe4207b1eb2817472fc6ddb36 (patch)
treeb7ab0dbb6eab1bb1c3c7624601162d2f61884d77 /client.c
parentClean up Makefile (diff)
downloadtorus-642e1fe5360044ebe4207b1eb2817472fc6ddb36.tar.gz
torus-642e1fe5360044ebe4207b1eb2817472fc6ddb36.zip
Remove spawns
This reverts ce13621292bdfeafd7c6561c432a1d96deccbd3a and commits after
it.
Diffstat (limited to '')
-rw-r--r--client.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/client.c b/client.c
index 7af6950..1e3421b 100644
--- a/client.c
+++ b/client.c
@@ -58,14 +58,6 @@ static void clientPut(uint8_t color, char cell) {
 	clientMessage(msg);
 }
 
-static void clientSpawn(uint8_t spawn) {
-	struct ClientMessage msg = {
-		.type = CLIENT_SPAWN,
-		.spawn = spawn,
-	};
-	clientMessage(msg);
-}
-
 static void clientMap(void) {
 	struct ClientMessage msg = { .type = CLIENT_MAP };
 	clientMessage(msg);
@@ -162,13 +154,6 @@ static void inputNormal(int c) {
 		break; case ESC: input.mode = MODE_NORMAL;
 
 		break; case 'q': endwin(); exit(EX_OK);
-		break; case 'Q': {
-			if ((input.color & 0x07) < ARRAY_LEN(SPAWNS)) {
-				clientSpawn(input.color & 0x07);
-			} else {
-				clientSpawn(0);
-			}
-		}
 		break; case 'm': clientMap();
 
 		break; case 'i': insertMode(1, 0);