Update to 1.7.1

--HG--
branch : openttd
This commit is contained in:
Pavel Stupnikov
2017-06-14 01:41:15 +03:00
parent a41510fd20
commit 20c8381879
61 changed files with 599 additions and 457 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: ship_cmd.cpp 27667 2016-10-16 14:58:38Z frosch $ */
/* $Id: ship_cmd.cpp 27864 2017-05-03 20:13:05Z frosch $ */
/*
* This file is part of OpenTTD.
@@ -28,6 +28,7 @@
#include "vehicle_func.h"
#include "sound_func.h"
#include "ai/ai.hpp"
#include "game/game.hpp"
#include "pathfinder/opf/opf_ship.h"
#include "engine_base.h"
#include "company_base.h"
@@ -426,6 +427,7 @@ static void ShipArrivesAt(const Vehicle *v, Station *st)
st->index
);
AI::NewEvent(v->owner, new ScriptEventStationFirstVehicle(st->index, v->index));
Game::NewEvent(new ScriptEventStationFirstVehicle(st->index, v->index));
}
}