src/ai/api/ai_testmode.cpp
branchnoai
changeset 9629 66dde6412125
parent 9486 a9b5f6b8667c
child 9833 89a64246458f
equal deleted inserted replaced
9628:b5c2449616b5 9629:66dde6412125
     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 }