diff options
author | June McEnroe <june@causal.agency> | 2018-08-21 22:46:18 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-21 22:46:18 -0400 |
commit | 7c5e77d57127d9b84ce92e1ff39ea6c5dd6ec2d6 (patch) | |
tree | 8476da8130727b5593dee893b99ccdc2c12a6caa /server.c | |
parent | Use alignas rather than attributes (diff) | |
download | torus-7c5e77d57127d9b84ce92e1ff39ea6c5dd6ec2d6.tar.gz torus-7c5e77d57127d9b84ce92e1ff39ea6c5dd6ec2d6.zip |
Replace client with rudimentary CP437 support
Diffstat (limited to '')
-rw-r--r-- | server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c index ff13af3..3dedad8 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; |