Files
@ r1718:0c13f342c6f1
Branch filter:
Location: cpp/openttd-patchpack/source/waypoint.h
r1718:0c13f342c6f1
1.6 KiB
text/x-c
(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)
- 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)