Rev Author Branch Log Message Date SHA
r20157
Avatar Marek Kulik
1.5.8 Fix crash in CWorldSA::FindClosestRailTrackNode
In the crash, `ucDesiredTrackId` has the value of `0xC1` (193), which is bigger than NUM_RAILTRACKS (= 4). `iNodeId` wasn't set properly (= -1) and then the code crashed at `aTrackNodes[ucOutTrackId][iNodeId]`.
9 September, 2019
Avatar sbx320
1.5.8 Fix #1087 (fileOpen uses wrong directory when the resource was zipped bug)
The change in https://github.com/multitheftauto/mtasa-blue/commit/efe673bb6b6a5c8e7aefe6c01ec7213bc050f58b#diff-2b9f1bd96407db0ff62a0f06f5ad201fR1212 did not take into account that zipped resources may add new files to the resource directory. This commit resolves the issue by checking the regular folder first before trying to read the unzipped file.
9 September, 2019
Avatar Marek Kulik
1.5.8 Move null reset for projectileTargetEntity in GetProjectileTarget
9 September, 2019
Avatar Qais Patankar
1.5.8 Fix typo in 32e4206dab2b441132a6e00f35658f8e6e9a2f59
Co-authored-by: Arran
9 September, 2019
Avatar Qais Patankar
1.5.8 Fix error case in engineFreeModel
Co-authored-by: Arran
9 September, 2019