diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-01 16:59:54 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-01 16:59:54 +0000 |
commit | a22542f273de28d06ecaf2bd6fd741821e98512b (patch) | |
tree | 54ed82cf99f8bfe517c3ab418e1f62beac688d96 /src/core/entity.cc | |
parent | 4e5343ce9aa83a5c0b04bf744dd287fb56ff39fc (diff) |
lights offset and frequency
Diffstat (limited to 'src/core/entity.cc')
-rw-r--r-- | src/core/entity.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/entity.cc b/src/core/entity.cc index b186c64..ea5b9bc 100644 --- a/src/core/entity.cc +++ b/src/core/entity.cc @@ -102,6 +102,7 @@ Entity::Entity(unsigned int flags) : entity_name.clear(); entity_renderstate = 0; + entity_renderfuzz = math::randomf(); add(this); } @@ -140,6 +141,7 @@ Entity::Entity(std::istream & is) entity_dirty = false; entity_renderstate = 0; + entity_renderfuzz = math::randomf(); add(this, entity_id); } |