forked from mirror/OpenTTD
(svn r3172) static, const
This commit is contained in:
@@ -785,7 +785,7 @@ void BackupVehicleOrders(const Vehicle *v, BackuppedOrders *bak)
|
||||
* Restore vehicle orders that are backupped via BackupVehicleOrders
|
||||
*
|
||||
*/
|
||||
void RestoreVehicleOrders(Vehicle *v, BackuppedOrders *bak)
|
||||
void RestoreVehicleOrders(const Vehicle* v, const BackuppedOrders* bak)
|
||||
{
|
||||
uint i;
|
||||
|
||||
@@ -1100,7 +1100,7 @@ bool IsOrderListShared(const Vehicle *v)
|
||||
* @return false if there are no valid orders
|
||||
*
|
||||
*/
|
||||
bool CheckForValidOrders(Vehicle *v)
|
||||
bool CheckForValidOrders(const Vehicle* v)
|
||||
{
|
||||
const Order *order;
|
||||
|
||||
|
Reference in New Issue
Block a user