polyadvent

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

commit cd968f4dd9f69a1f415884914863c541e6995981
parent e6bb503bf9a2947e2f0c934b004dfd3a7d44d7fe
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 29 Jul 2019 08:02:28 -0700

ON_GROUND flag instead of AT_REST

These are different things. AT_REST will be another flag entirely related to
physics simulation.

Diffstat:
Msrc/entity.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/entity.h b/src/entity.h @@ -14,7 +14,7 @@ enum entity_flags { ENT_IS_PLAYER = 1 << 0, ENT_INVISIBLE = 1 << 1, ENT_CASTS_SHADOWS = 1 << 2, - ENT_AT_REST = 1 << 3, + ENT_ON_GROUND = 1 << 3, }; struct entity {