Overview
Comment: | According to a test I have made, MoveTo() should clear OF_DONE if successful, even though this is not documented |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
c8abf002f2cbb6ae91644d523f47a85a |
User & Date: | user on 2020-12-18 08:13:18 |
Other Links: | manifest | tags |
Context
2020-12-18
| ||
19:34 | Change the object examination screen to correctly check the generation of any object which is referenced in a variable check-in: 6925d721e0 user: user tags: trunk | |
08:13 | According to a test I have made, MoveTo() should clear OF_DONE if successful, even though this is not documented check-in: c8abf002f2 user: user tags: trunk | |
08:07 | Many changes (still not quite right, it seems) check-in: a5ad5e4eeb user: user tags: trunk | |
Changes
Modified exec.c from [4fb502d2cb] to [7382111b50].
︙ | ︙ | |||
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; |
︙ | ︙ |