View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007610||Source patches||Multi Theft Auto : San Andreas||public||2013-05-07 19:16||2013-05-10 11:45|
|Target Version||1.3.3||Fixed in Version||1.3.3|
|Summary||0007610: Patch for 0007609 (getVehicleSirens on a sandking (495) crashes the server immediately)|
This patch fixes #0007609 which was caused by using an unitialized variable (tSirenBeaconInfo.m_ucSirenCount) as limit in a for loop and therefore exceeding the bounds of an array, by clearing the sirens in the constructor of CVehicle. This patch also fixes a bug which would occur upon calling getVehicleSirens after removeVehicleSirens, which would result in weird return values (Default Args of all parameters in the table).
|Tags||No tags attached.|