This commit is contained in:
parent
49ab6af412
commit
bac6e54e70
2 changed files with 2 additions and 1 deletions
|
@ -683,6 +683,7 @@ void CNpcEnemy::shutdown()
|
|||
oldPosition = currentPosition;
|
||||
currentPosition = currentPosition->next;
|
||||
|
||||
oldPosition->prev->next = NULL;
|
||||
delete oldPosition;
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ protected:
|
|||
};
|
||||
};
|
||||
|
||||
class CNpcParasiticWormSegment : public CNpcParasiticWormEnemy
|
||||
class CNpcParasiticWormSegment : public CNpcEnemy
|
||||
{
|
||||
public:
|
||||
virtual void render();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue