polyadvent

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

commit d63ec7b80ebc432962e12b23acd2ec81ebbcb38c
parent 9a514f8bd443952ce1c3ec57219de6ca1fb27f19
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 27 Jul 2019 11:47:05 -0700

dont assert for now

Diffstat:
Msrc/terrain.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/terrain.c b/src/terrain.c @@ -230,9 +230,9 @@ void collide_terrain(struct terrain *terrain, struct node *node, struct model *m get_closest_cells(terrain, node_world(node), cell, closest_cells, closest); - assert(closest_cells[0]); - assert(closest_cells[1]); - assert(closest_cells[2]); + /* assert(closest_cells[0]); */ + /* assert(closest_cells[1]); */ + /* assert(closest_cells[2]); */ // safe bail here if (closest_cells[2] == NULL || closest_cells[1] == NULL || closest_cells[0] == NULL)