Merge branch 'jgrpp' into jgrpp-nrt
# Conflicts: # .ottdrev-vc # README.md # jgrpp-changelog.md # src/ship_cmd.cpp
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include "framerate_type.h"
|
||||
#include "industry.h"
|
||||
#include "industry_map.h"
|
||||
#include "core/checksum_func.hpp"
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
@@ -524,6 +525,7 @@ static Track ChooseShipTrack(Ship *v, TileIndex tile, DiagDirection enterdir, Tr
|
||||
default: NOT_REACHED();
|
||||
}
|
||||
}
|
||||
UpdateStateChecksum((((uint64) v->index) << 32) | (path_found << 16) | track);
|
||||
|
||||
v->HandlePathfindingResult(path_found);
|
||||
return track;
|
||||
@@ -972,6 +974,7 @@ reverse_direction:
|
||||
|
||||
bool Ship::Tick()
|
||||
{
|
||||
UpdateStateChecksum((((uint64) this->x_pos) << 32) | this->y_pos);
|
||||
if (!(this->vehstatus & VS_STOPPED)) this->running_ticks++;
|
||||
|
||||
ShipController(this);
|
||||
|
Reference in New Issue
Block a user