Files @ r1718:0c13f342c6f1
Branch filter:

Location: cpp/openttd-patchpack/source/callback_table.h

tron
(svn r2222) Check the parameters of Cmd{Insert,Delete,Modify,Skip}Order() and CmdRestoreOrderIndex():
- Check if the vehicle exists
- Check if the vehicle belongs to the correct player
- Check if the new order is valid (type, destination, flags) (CmdInsertOrder)
1
2
3
4
5
6
7
#ifndef CALLBACK_TABLE_H
#define CALLBACK_TABLE_H

extern CommandCallback *_callback_table[];
extern const int _callback_table_count;

#endif