summaryrefslogtreecommitdiff
path: root/src/heretic/p_enemy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/p_enemy.c')
-rw-r--r--src/heretic/p_enemy.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/heretic/p_enemy.c b/src/heretic/p_enemy.c
index 55e0d829..d569c78e 100644
--- a/src/heretic/p_enemy.c
+++ b/src/heretic/p_enemy.c
@@ -526,7 +526,6 @@ boolean P_LookForPlayers(mobj_t * actor, boolean allaround)
int c;
int stop;
player_t *player;
- sector_t *sector;
angle_t an;
fixed_t dist;
@@ -534,7 +533,6 @@ boolean P_LookForPlayers(mobj_t * actor, boolean allaround)
{ // Single player game and player is dead, look for monsters
return (P_LookForMonsters(actor));
}
- sector = actor->subsector->sector;
c = 0;
stop = (actor->lastlook - 1) & 3;
for (;; actor->lastlook = (actor->lastlook + 1) & 3)
@@ -2272,7 +2270,6 @@ void A_MakePod(mobj_t * actor)
mobj_t *mo;
fixed_t x;
fixed_t y;
- fixed_t z;
if (actor->special1.i == MAX_GEN_PODS)
{ // Too many generated pods
@@ -2280,7 +2277,6 @@ void A_MakePod(mobj_t * actor)
}
x = actor->x;
y = actor->y;
- z = actor->z;
mo = P_SpawnMobj(x, y, ONFLOORZ, MT_POD);
if (P_CheckPosition(mo, x, y) == false)
{ // Didn't fit