(svn r3172) static, const

This commit is contained in:
tron
2005-11-13 13:43:55 +00:00
parent 59e885c2bf
commit ee15e3de13
31 changed files with 132 additions and 131 deletions

View File

@@ -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;