X-Git-Url: https://deadsoftware.ru/gitweb?p=cavecraft.git;a=blobdiff_plain;f=src%2Fcellui.mpsrc;h=611532352c6dc4831104a7b8530699eccd6e3a8c;hp=3b14c3fa68d232e188ccf0ca5323daa5c1d5ac12;hb=bddd811f24b5890310e09e93a33600a58db39ec9;hpb=4d7cf2ab1e10d9926d03afb5a3f883bcf5312469 diff --git a/src/cellui.mpsrc b/src/cellui.mpsrc index 3b14c3f..6115323 100644 --- a/src/cellui.mpsrc +++ b/src/cellui.mpsrc @@ -75,7 +75,7 @@ interface function FindCurrentWindowsType:boolean; implementation - uses vars, Canvas, console, furnace, chest, inv, func, items_store, Items; + uses vars, Canvas, console, furnace, chest, inv, func, items_store, Items, ItemsLogic; var layer:integer; last_cell: array [0..CONST_MAX_LAYERS] of integer; @@ -336,7 +336,7 @@ implementation for j:=0 to CONST_MAX_CELLS do if inv_type[i, j]<>CELL_TYPE_NULL then begin - Items.Draw(getItemIdx(j, i), getSumIdx(j, i), x+inv_x[i, j], y+inv_y[i, j], getCellFlagIndicator(i, j)); + ItemsLogic.Draw(getItemIdx(j, i), getSumIdx(j, i), x+inv_x[i, j], y+inv_y[i, j], getCellFlagIndicator(i, j)); end; end;