diff options
Diffstat (limited to 'src/jake2')
-rw-r--r-- | src/jake2/game/entity_state_t.java | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/jake2/game/entity_state_t.java b/src/jake2/game/entity_state_t.java index e4e7b68..abba83e 100644 --- a/src/jake2/game/entity_state_t.java +++ b/src/jake2/game/entity_state_t.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 08.11.2003 by RST. -// $Id: entity_state_t.java,v 1.3 2004-08-20 21:29:58 salomo Exp $ +// $Id: entity_state_t.java,v 1.4 2005-01-23 19:06:10 cawe Exp $ package jake2.game; @@ -145,4 +145,22 @@ public class entity_state_t implements Cloneable sound = from.sound; event = from.event; } + + public void clear() + { + number = -99999; + surrounding_ent = null; + Math3D.VectorClear(origin); + Math3D.VectorClear(angles); + Math3D.VectorClear(old_origin); + modelindex = 0; + modelindex2 = modelindex3 = modelindex4 = 0; + frame = 0; + skinnum = 0; + effects = 0; + renderfx = 0; + solid = 0; + sound = 0; + event = 0; + } }
\ No newline at end of file |