polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

commit 5b66916b4932f0fdfe35297f8cae59d0b034838a
parent d4cf1ea89e155de7b6432fd0bb4ae9177dad8614
Author: William Casarin <jb55@jb55.com>
Date:   Mon,  4 Oct 2021 23:08:04 -0700

remove some unused code in position_piece

Diffstat:
Msrc/chess.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/chess.c b/src/chess.c @@ -21,8 +21,6 @@ static void position_piece(struct entity *piece, int cell_size, int x, int y) assert(y < 8); struct node *node = get_node(&piece->node_id); - struct model *model = get_model(&piece->model_id); - struct geometry *geom = get_geometry(&model->geom_id); assert(node); // reset to a1