clang format lol
This commit is contained in:
parent
416cd3146d
commit
c049a1a323
@ -183,11 +183,11 @@ void ItemModelMapper::RegisterItem(std::string modelpath, k_EItemType type)
|
|||||||
k_EItemType ItemModelMapper::GetItemType(CachedEntity *entity)
|
k_EItemType ItemModelMapper::GetItemType(CachedEntity *entity)
|
||||||
{
|
{
|
||||||
const uintptr_t model = (uint64_t) RAW_ENT(entity)->GetModel();
|
const uintptr_t model = (uint64_t) RAW_ENT(entity)->GetModel();
|
||||||
auto find = map.find(model);
|
auto find = map.find(model);
|
||||||
if (find != map.end())
|
if (find != map.end())
|
||||||
return find->second;
|
return find->second;
|
||||||
std::string path(g_IModelInfo->GetModelName((const model_t *) model));
|
std::string path(g_IModelInfo->GetModelName((const model_t *) model));
|
||||||
bool set = false;
|
bool set = false;
|
||||||
auto find2 = models.find(path);
|
auto find2 = models.find(path);
|
||||||
if (find2 != models.end())
|
if (find2 != models.end())
|
||||||
set = true;
|
set = true;
|
||||||
|
Reference in New Issue
Block a user