From 9ee8c20ac44da9ba3fe98fcaa809a99ba4fe8348 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Fri, 27 Jul 2007 05:41:28 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1186 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/entities.cpp | 5 ----- source/src/entity.h | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/source/src/entities.cpp b/source/src/entities.cpp index 358943c0..48dc5d33 100644 --- a/source/src/entities.cpp +++ b/source/src/entities.cpp @@ -257,11 +257,6 @@ void equip(playerent *d) d->mag[d->primary] = magsize(d->primary); } - if (d->hasarmour) - { - if(gamemode==m_arena) d->armour = 100; - } - d->gunselect = d->primary; } diff --git a/source/src/entity.h b/source/src/entity.h index 0a71220e..4f94f7e5 100644 --- a/source/src/entity.h +++ b/source/src/entity.h @@ -167,7 +167,7 @@ struct playerent : dynent int mag[NUMGUNS]; string name, team; int shots; //keeps track of shots from auto weapons - bool reloading, hasarmour, weaponchanging; + bool reloading, weaponchanging; int nextweapon; // weapon we switch to int primary; //primary gun int nextprimary; // primary after respawning @@ -195,7 +195,6 @@ struct playerent : dynent history.reset(); health = 100; armour = 0; - hasarmour = false; lastaction = akimbolastaction[0] = akimbolastaction[1] = 0; akimbomillis = 0; gunselect = GUN_PISTOL;