fix warning

This commit is contained in:
Roxanne 2024-01-31 10:17:49 +01:00
parent 13f06d3c9b
commit 96cc6f2f12

View File

@ -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