mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 03:42:34 +01:00
- Mini Cars cheat car entrance fixed
This commit is contained in:
parent
574573d20d
commit
aacbdcb6ad
@ -5,6 +5,7 @@
|
|||||||
#include "cop_ai.h"
|
#include "cop_ai.h"
|
||||||
#include "cars.h"
|
#include "cars.h"
|
||||||
#include "felony.h"
|
#include "felony.h"
|
||||||
|
#include "glaunch.h"
|
||||||
#include "players.h"
|
#include "players.h"
|
||||||
#include "replays.h"
|
#include "replays.h"
|
||||||
|
|
||||||
@ -31,6 +32,9 @@ int TannerCanEnterCar(CAR_DATA *cp, int distToCarSq)
|
|||||||
if (ABS(FIXEDH(cp->hd.wheel_speed)) < 3)
|
if (ABS(FIXEDH(cp->hd.wheel_speed)) < 3)
|
||||||
{
|
{
|
||||||
carRange = car_cosmetics[cp->ap.model].colBox.vx * 2;
|
carRange = car_cosmetics[cp->ap.model].colBox.vx * 2;
|
||||||
|
|
||||||
|
if (ActiveCheats.cheat13 != 0)
|
||||||
|
carRange <<= 1;
|
||||||
|
|
||||||
if (carRange > 5000)
|
if (carRange > 5000)
|
||||||
carRange = 5000;
|
carRange = 5000;
|
||||||
|
Loading…
Reference in New Issue
Block a user