[Dedicated]: Rename local variable (#875)

This commit is contained in:
Edo 2023-03-25 11:38:22 +00:00 committed by GitHub
parent 703f3338aa
commit 8284f89777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,9 +264,9 @@ namespace Components
// Dedicated only behaviour from IW5MP Dedicated Server.
if (com_dedicated->current.integer != 1 && com_dedicated->current.integer != 2)
{
Game::DvarValue val;
val.integer = 0;
Game::Dvar_SetVariant(const_cast<Game::dvar_t*>(com_dedicated), val, Game::DVAR_SOURCE_INTERNAL);
Game::DvarValue value;
value.integer = 0;
Game::Dvar_SetVariant(const_cast<Game::dvar_t*>(com_dedicated), value, Game::DVAR_SOURCE_INTERNAL);
}
});