summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ents.h2
-rw-r--r--src/shared/iengine.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/ents.h b/src/shared/ents.h
index 57e23fe..3ceccf4 100644
--- a/src/shared/ents.h
+++ b/src/shared/ents.h
@@ -3,7 +3,7 @@
// ET_*: the only static entity types dictated by the engine... rest are gamecode dependent
-enum { ET_EMPTY=0, ET_LIGHT, ET_MAPMODEL, ET_PLAYERSTART, ET_NOENVMAP, ET_PARTICLES, ET_SOUND, ET_SPOTLIGHT, ET_GAMESPECIFIC };
+enum { ET_EMPTY=0, ET_LIGHT, ET_MAPMODEL, ET_PLAYERSTART, ET_PARTICLES, ET_SOUND, ET_SPOTLIGHT, ET_GAMESPECIFIC };
struct entity // persistent map entity
{
diff --git a/src/shared/iengine.h b/src/shared/iengine.h
index 8bc7521..74a6634 100644
--- a/src/shared/iengine.h
+++ b/src/shared/iengine.h
@@ -368,7 +368,7 @@ extern void moveplayer(physent *pl, int moveres, bool local);
extern bool moveplayer(physent *pl, int moveres, bool local, int curtime);
extern bool collide(physent *d, const vec &dir = vec(0, 0, 0), float cutoff = 0.0f, bool playercol = true, bool insideplayercol = false);
extern bool bounce(physent *d, float secs, float elasticity, float grav);
-extern bool bounce(physent *d, float elasticity, float float grav);
+extern bool bounce(physent *d, float elasticity, float grav);
extern void avoidcollision(physent *d, const vec &dir, physent *obstacle, float space);
extern bool overlapsdynent(const vec &o, float radius);
extern bool movecamera(physent *pl, const vec &dir, float dist, float stepdist);