mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45:37 +03:00
Cvars: Fix code to avoid Nextra be confused
This commit is contained in:
parent
f8baef15ca
commit
a5b5c7e9cd
@ -219,10 +219,10 @@ CvarInfo* CvarManager::CreateCvar(const char* name, const char* value, const cha
|
|||||||
{
|
{
|
||||||
// In situation where a plugin has been modified/recompiled
|
// In situation where a plugin has been modified/recompiled
|
||||||
// or new added plugins, and a change map occurs. We want to keep data up to date.
|
// or new added plugins, and a change map occurs. We want to keep data up to date.
|
||||||
info->bound.hasMin = hasMin;
|
info->bound.hasMin = false;
|
||||||
info->bound.minVal = min;
|
info->bound.minVal = 0;
|
||||||
info->bound.hasMax = hasMax;
|
info->bound.hasMax = false;
|
||||||
info->bound.maxVal = max;
|
info->bound.maxVal = 0;
|
||||||
info->defaultval = value;
|
info->defaultval = value;
|
||||||
info->description = helpText;
|
info->description = helpText;
|
||||||
info->pluginId = pluginId;
|
info->pluginId = pluginId;
|
||||||
|
Loading…
Reference in New Issue
Block a user