mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-25 11:52:32 +01:00
- bump version
- revert back node code
This commit is contained in:
parent
21e79e8fd4
commit
908df690ad
@ -1,4 +1,4 @@
|
||||
version: 5.4.{build}
|
||||
version: 5.6.{build}
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
@ -1800,6 +1800,7 @@ int CreateCivCarWotDrivesABitThenStops(int direction, LONGVECTOR4* startPos, LON
|
||||
pNewCar->ai.c.targetRoute[0].z = (*startPos)[2];
|
||||
|
||||
stopNode = &pNewCar->ai.c.targetRoute[1];
|
||||
pNewCar->ai.c.ctrlNode = stopNode;
|
||||
|
||||
stopNode->pathType = 1;
|
||||
stopNode->dir = direction;
|
||||
@ -1813,8 +1814,6 @@ int CreateCivCarWotDrivesABitThenStops(int direction, LONGVECTOR4* startPos, LON
|
||||
spareNode->dir = direction;
|
||||
spareNode->distAlongSegment = 0;
|
||||
|
||||
pNewCar->ai.c.ctrlNode = spareNode;
|
||||
|
||||
spareNode->x = (*startPos)[0] + FIXEDH(DistanceTriggerCarMoves * rcossin_tbl[(direction & 0xfffU) * 2] * 3);
|
||||
spareNode->z = (*startPos)[2] + FIXEDH(DistanceTriggerCarMoves * rcossin_tbl[(direction & 0xfffU) * 2 + 1] * 3);
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef VERSION_H
|
||||
#define VERSION_H
|
||||
|
||||
#define GAME_VERSION_N "5.4 alpha"
|
||||
#define GAME_VERSION_N "5.6 alpha"
|
||||
#define GAME_TITLE "REDRIVER2"
|
||||
#define GAME_VERSION GAME_TITLE " " GAME_VERSION_N
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user