[Dedicated]: Rename local variable (#875)
This commit is contained in:
parent
703f3338aa
commit
8284f89777
@ -264,9 +264,9 @@ namespace Components
|
|||||||
// Dedicated only behaviour from IW5MP Dedicated Server.
|
// Dedicated only behaviour from IW5MP Dedicated Server.
|
||||||
if (com_dedicated->current.integer != 1 && com_dedicated->current.integer != 2)
|
if (com_dedicated->current.integer != 1 && com_dedicated->current.integer != 2)
|
||||||
{
|
{
|
||||||
Game::DvarValue val;
|
Game::DvarValue value;
|
||||||
val.integer = 0;
|
value.integer = 0;
|
||||||
Game::Dvar_SetVariant(const_cast<Game::dvar_t*>(com_dedicated), val, Game::DVAR_SOURCE_INTERNAL);
|
Game::Dvar_SetVariant(const_cast<Game::dvar_t*>(com_dedicated), value, Game::DVAR_SOURCE_INTERNAL);
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user