diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-11-06 19:58:41 +0000 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-11-06 19:58:41 +0000 |
commit | bdd1b10cb8d6c405de58031e1de57c7f2b24225f (patch) | |
tree | 93f08e73ca4b34b23e8bd1fbde422848eba9d7bb /src/render.cpp | |
parent | 6a82d04e2b5edffc32df44aa46d6cf60428c7b44 (diff) |
Introduce cmodels and cflags.
Diffstat (limited to 'src/render.cpp')
-rw-r--r-- | src/render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render.cpp b/src/render.cpp index a6cc6b5..7b38989 100644 --- a/src/render.cpp +++ b/src/render.cpp @@ -93,7 +93,7 @@ void state_t::render(game::state_t *game) ents.sort( [](const world::entity_t *x, const world::entity_t *y) -> bool { - return x->bounds[1][0] < y->bounds[1][0]; + return x->render_bounds[1][0] < y->render_bounds[1][0]; }); for (world::entity_t *ent : ents) |