forked from mirror/OpenTTD
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
|
||||
#include "window_type.h"
|
||||
|
||||
void CcTerraform(bool success, TileIndex tile, uint32 p1, uint32 p2);
|
||||
|
||||
Window *ShowTerraformToolbar(Window *link = NULL);
|
||||
void ShowTerraformToolbarWithTool(uint16 key, uint16 keycode);
|
||||
Window *ShowEditorTerraformToolbar();
|
||||
|
Reference in New Issue
Block a user