Fixing bug 1256, no such function, inventory_get_item_at_day

--HG--
extra : source : 6790deb43277057ee4aee3520814d40714939b6c