Fix fill tool in developer mode

lights3
Armin Burgmeier 2015-08-04 23:15:16 -04:00
parent 94ce958e4c
commit ad57b5a9c9
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,7 @@ void C4EditCursor::ApplyToolFill()
if (!EditingOK()) return;
C4ToolsDlg *pTools=&Console.ToolsDlg;
// execute/send control
EMControl(CID_EMDrawTool, new C4ControlEMDrawTool(EMDT_Fill, ::Landscape.Mode, X,Y,0,Y2, pTools->Grade, false, pTools->Material));
EMControl(CID_EMDrawTool, new C4ControlEMDrawTool(EMDT_Fill, ::Landscape.Mode, X,Y,0,Y2, pTools->Grade, pTools->Material, NULL, NULL, NULL));
}
bool C4EditCursor::DoContextMenu(DWORD dwKeyState)