1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-20 19:57:12 +01:00

Forgot to complete the proper variable names when clearing entity container names.

This commit is contained in:
Sandu Liviu Catalin 2016-07-16 18:07:07 +03:00
parent 3fab6d931f
commit 88765b80c0

View File

@ -816,13 +816,34 @@ protected:
{
switch (type)
{
case ENT_BLIP: m_Blips.clear(); break;
case ENT_CHECKPOINT: m_Blips.clear(); break;
case ENT_KEYBIND: m_Blips.clear(); break;
case ENT_OBJECT: m_Blips.clear(); break;
case ENT_PICKUP: m_Blips.clear(); break;
case ENT_PLAYER: m_Blips.clear(); break;
case ENT_VEHICLE: m_Blips.clear(); break;
case ENT_BLIP:
{
m_Blips.clear();
} break;
case ENT_CHECKPOINT:
{
m_Checkpoints.clear();
} break;
case ENT_KEYBIND:
{
m_Keybinds.clear();
} break;
case ENT_OBJECT:
{
m_Objects.clear();
} break;
case ENT_PICKUP:
{
m_Pickups.clear();
} break;
case ENT_PLAYER:
{
m_Players.clear();
} break;
case ENT_VEHICLE:
{
m_Vehicles.clear();
} break;
default: STHROWF("Cannot clear unknown entity type container");
}
}