about summary refs log tree commit diff homepage
path: root/server.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-21 22:46:18 -0400
committerJune McEnroe <june@causal.agency>2018-08-21 22:46:18 -0400
commit0c8fb2b9fe779bdb7ba85c8458d4efc0034fb77b (patch)
tree1e7409bc2d986627d507cb697f9cc6cc8d36ad49 /server.c
parentUse alignas rather than attributes (diff)
downloadtorus-0c8fb2b9fe779bdb7ba85c8458d4efc0034fb77b.tar.gz
torus-0c8fb2b9fe779bdb7ba85c8458d4efc0034fb77b.zip
Replace client with rudimentary CP437 support
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index e565816..9486fcd 100644
--- a/server.c
+++ b/server.c
@@ -254,7 +254,7 @@ static bool clientMove(struct Client *client, int8_t dx, int8_t dy) {
 	return true;
 }
 
-static bool clientPut(const struct Client *client, uint8_t color, char cell) {
+static bool clientPut(const struct Client *client, uint8_t color, uint8_t cell) {
 	struct Tile *tile = tileModify(client->tileX, client->tileY);
 	tile->colors[client->cellY][client->cellX] = color;
 	tile->cells[client->cellY][client->cellX] = cell;