mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Move CPickupPool constructor to pickuppool.h
This commit is contained in:
parent
8154fb5da2
commit
de33537fc5
@ -3,20 +3,6 @@
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
CPickupPool::CPickupPool()
|
||||
{
|
||||
memset(field_F004, 0, sizeof(field_F004));
|
||||
field_0 = 0;
|
||||
for (int i = 0; i < MAX_PICKUPS; i++)
|
||||
{
|
||||
m_dwHnd[i] = NULL;
|
||||
field_8004[i] = 0;
|
||||
field_4004[i] = -1;
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
CPickupPool::~CPickupPool()
|
||||
{
|
||||
for(int i = 0; i < MAX_PICKUPS; i++)
|
||||
|
@ -20,7 +20,17 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
CPickupPool();
|
||||
CPickupPool() {
|
||||
memset(field_F004, 0, sizeof(field_F004));
|
||||
field_0 = 0;
|
||||
for (int i = 0; i < MAX_PICKUPS; i++)
|
||||
{
|
||||
m_dwHnd[i] = NULL;
|
||||
field_8004[i] = 0;
|
||||
field_4004[i] = -1;
|
||||
}
|
||||
}
|
||||
|
||||
~CPickupPool();
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user