mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
increase vscript string value size to 4096 because we're crazy
This commit is contained in:
parent
2bcf9facf4
commit
47fec34d84
@ -2357,7 +2357,7 @@ MRESReturn Detour_Timer_SetCheckpointCustomData(DHookParam params)
|
||||
return MRES_Supercede;
|
||||
}
|
||||
|
||||
char key[512], value[512];
|
||||
char key[512], value[4096];
|
||||
params.GetString(2, key, sizeof(key));
|
||||
params.GetString(3, value, sizeof(value));
|
||||
|
||||
@ -2391,7 +2391,7 @@ MRESReturn Detour_Timer_GetCheckpointCustomData(DHookReturn hret, DHookParam par
|
||||
return MRES_Supercede;
|
||||
}
|
||||
|
||||
char key[512], value[512];
|
||||
char key[512], value[4096];
|
||||
params.GetString(2, key, sizeof(key));
|
||||
|
||||
if (gH_VScript_Checkpoint_CustomData[client])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user