equal
deleted
inserted
replaced
2 |
2 |
3 /** @file ai_testmode.cpp class to switch the AI to Testing mode */ |
3 /** @file ai_testmode.cpp class to switch the AI to Testing mode */ |
4 |
4 |
5 #include "ai_testmode.hpp" |
5 #include "ai_testmode.hpp" |
6 |
6 |
7 bool AITestMode::ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint procc, int32 costs) |
7 bool AITestMode::ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint procc, CommandCost costs) |
8 { |
8 { |
9 /* In test mode we only return 'false', telling the DoCommand it |
9 /* In test mode we only return 'false', telling the DoCommand it |
10 * should stop after testing the command and return with that result. */ |
10 * should stop after testing the command and return with that result. */ |
11 return false; |
11 return false; |
12 } |
12 } |