diff --git a/src/cellui.mpsrc b/src/cellui.mpsrc
index 3b14c3fa68d232e188ccf0ca5323daa5c1d5ac12..611532352c6dc4831104a7b8530699eccd6e3a8c 100644 (file)
--- a/src/cellui.mpsrc
+++ b/src/cellui.mpsrc
function FindCurrentWindowsType:boolean;\r
\r
implementation\r
- uses vars, Canvas, console, furnace, chest, inv, func, items_store, Items;\r
+ uses vars, Canvas, console, furnace, chest, inv, func, items_store, Items, ItemsLogic;\r
var\r
layer:integer;\r
last_cell: array [0..CONST_MAX_LAYERS] of integer;\r
for j:=0 to CONST_MAX_CELLS do\r
if inv_type[i, j]<>CELL_TYPE_NULL then\r
begin\r
- Items.Draw(getItemIdx(j, i), getSumIdx(j, i), x+inv_x[i, j], y+inv_y[i, j], getCellFlagIndicator(i, j));\r
+ ItemsLogic.Draw(getItemIdx(j, i), getSumIdx(j, i), x+inv_x[i, j], y+inv_y[i, j], getCellFlagIndicator(i, j));\r
end;\r
end;\r
\r