mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03:01 +05:00
Fixed buffer overflow
This commit is contained in:
parent
737fa005c0
commit
63c6356db7
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ void CVehicle::SetComponentAtomicAlpha(RpAtomic* pAtomic, int nAlpha)
|
|||
|
||||
bool CVehicle::CustomCarPlate_TextureCreate(CVehicleModelInfo* pModelInfo)
|
||||
{
|
||||
char PlateText[8];
|
||||
char PlateText[10];
|
||||
const char* pOverrideText = pModelInfo->GetCustomCarPlateText();
|
||||
|
||||
if ( pOverrideText )
|
||||
|
|
Loading…
Reference in a new issue