diff --git a/src/items.c b/src/items.c
index 06230c9c7f949bf83952a3697da60fbd654351a0..126fd5ce4e24e5f80fbc1e39895917cb3dc8fb75 100644 (file)
--- a/src/items.c
+++ b/src/items.c
case MB_THING:
for(i=0;blk.sz>0;++i,blk.sz-=8) {
myfread(&t,1,sizeof(t),h);
+ t.x = short2host(t.x);
+ t.y = short2host(t.y);
+ t.t = short2host(t.t);
+ t.f = short2host(t.f);
it[i].o.x=t.x;it[i].o.y=t.y;
it[i].t=t.t;it[i].s=t.f;
if(!it[i].t) break;