Commit 54a72cf9 authored by Gerhard Stein's avatar Gerhard Stein

More pointer removals

parent 145899a0
......@@ -25,8 +25,7 @@ A_SLUG_STUNNED_ALT = 4
const int SLUG_MOVE_SPEED = 1;
const int SLUG_MOVE_TIMER = 8;
CPoisonSlug::CPoisonSlug(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y,
std::vector< SmartPointer<CGalaxySpriteObject> >&ObjectPtrs) :
CPoisonSlug::CPoisonSlug(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y) :
CStunnable(pmap, foeID, x, y),
m_timer(0)
{
......
......@@ -19,8 +19,7 @@ namespace galaxy {
class CPoisonSlug : public CStunnable
{
public:
CPoisonSlug(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y,
std::vector< SmartPointer<CGalaxySpriteObject> >&ObjectPtrs);
CPoisonSlug(CMap *pmap, const Uint16 foeID, Uint32 x, Uint32 y);
/**
* When slug is moving normally
......
......@@ -175,7 +175,7 @@ CGalaxySpriteObject* CMapLoaderGalaxyEp4::addFoe(CMap &Map, word foe, size_t x,
case 22:
// This is a Poison Slug.
p_newfoe = new galaxy::CPoisonSlug(&Map, foe, x, y, m_ObjectPtr);
p_newfoe = new galaxy::CPoisonSlug(&Map, foe, x, y);
break;
case 23:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment