- attempt to fix ped head rotation of disappeared interest

- bump game version
This commit is contained in:
Ilya Shurumov 2020-10-21 01:11:00 +06:00
parent 139aa1bc3e
commit 1e936f1ad5
3 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
version: 0.5.{build} version: 2.6.{build}
branches: branches:
only: only:

View File

@ -4954,7 +4954,10 @@ void CalculatePedestrianInterest(PEDESTRIAN* pPed)
carId = player[0].playerCarId; carId = player[0].playerCarId;
if (carId == -1) // [A] ASan bug fix if (carId == -1) // [A] ASan bug fix
{
pPed->head_rot = 0;
return; return;
}
pCar = &car_data[carId]; pCar = &car_data[carId];

View File

@ -1,7 +1,7 @@
#ifndef VERSION_H #ifndef VERSION_H
#define VERSION_H #define VERSION_H
#define GAME_VERSION_N "2.5 alpha" #define GAME_VERSION_N "2.6 alpha"
#define GAME_TITLE "REDRIVER2" #define GAME_TITLE "REDRIVER2"
#define GAME_VERSION GAME_TITLE " " GAME_VERSION_N #define GAME_VERSION GAME_TITLE " " GAME_VERSION_N