663
664
665
666
667
668
669
670
671
672
673
674
675
676
|
while(m!=VOIDLINK) {
send_message(n,m,MSG_FLOATED,NVALUE(0),NVALUE(0),v);
m=objects[m]->up;
}
}
}
// The OF_MOVED flag is set elsewhere, not here
return 1;
}
static int move_dir(Uint32 from,Uint32 obj,Uint32 dir) {
// This function is complicated, and there may be mistakes.
Object*o;
Object*oE;
|
>
|
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
|
while(m!=VOIDLINK) {
send_message(n,m,MSG_FLOATED,NVALUE(0),NVALUE(0),v);
m=objects[m]->up;
}
}
}
// The OF_MOVED flag is set elsewhere, not here
o->oflags&=~OF_DONE;
return 1;
}
static int move_dir(Uint32 from,Uint32 obj,Uint32 dir) {
// This function is complicated, and there may be mistakes.
Object*o;
Object*oE;
|