fix warning
This commit is contained in:
parent
13f06d3c9b
commit
96cc6f2f12
@ -249,9 +249,6 @@ namespace Components
|
|||||||
const auto R_RegisterModel = 0x50FA00;
|
const auto R_RegisterModel = 0x50FA00;
|
||||||
|
|
||||||
index = index - EXTRA_MODELCACHE_FIRST + ModelCache::BASE_GMODEL_COUNT;
|
index = index - EXTRA_MODELCACHE_FIRST + ModelCache::BASE_GMODEL_COUNT;
|
||||||
|
|
||||||
const auto test = ModelCache::gameModels_reallocated[index];
|
|
||||||
|
|
||||||
ModelCache::gameModels_reallocated[index] = Utils::Hook::Call<Game::XModel*(const char*)>(R_RegisterModel)(name);
|
ModelCache::gameModels_reallocated[index] = Utils::Hook::Call<Game::XModel*(const char*)>(R_RegisterModel)(name);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user