diff --git a/appveyor.yml b/appveyor.yml index dca7f3a7..0b6a8e9a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 5.4.{build} +version: 5.6.{build} branches: only: diff --git a/src_rebuild/GAME/C/CIV_AI.C b/src_rebuild/GAME/C/CIV_AI.C index 3db27013..922f99ac 100644 --- a/src_rebuild/GAME/C/CIV_AI.C +++ b/src_rebuild/GAME/C/CIV_AI.C @@ -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); diff --git a/src_rebuild/GAME/VERSION.H b/src_rebuild/GAME/VERSION.H index ea17e712..b1235f71 100644 --- a/src_rebuild/GAME/VERSION.H +++ b/src_rebuild/GAME/VERSION.H @@ -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