Differences From Artifact [d5095c8102]:
- File exec.c — part of check-in [e0a86ed98a] at 2021-03-21 06:42:56 on branch trunk — Implement the "a?" and "ArrayCell" instructions (user: user, size: 91517) [annotate] [blame] [check-ins using]
To Artifact [701969d391]:
- File exec.c — part of check-in [b572dd834c] at 2021-03-21 20:34:45 on branch trunk — Implement bit23 for HIT/HITBY to prevent cascading after shoving (user: user, size: 91558) [annotate] [blame] [check-ins using]
| ︙ | |||
884 885 886 887 888 889 890 891 892 893 894 895 896 897 | 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 | + |
}
// Shoving
if(!(hit&0x44) && (oE->shovable&(1<<dir)) && o->inertia>=oE->weight && !(oE->oflags&OF_VISUALONLY)) {
oE->inertia=o->inertia;
if(move_dir(obj,objE,dir)) {
if(!(oE->oflags&OF_DESTROYED)) o->inertia=oE->inertia;
hit|=0x8000;
if(hit&0x800000) goto restart;
}
}
if(hit&0x400) goto fail;
objE=obj_below(objE);
}
if(hit&0x2008) goto fail;
if((hit&0x48000)==0x8000) goto restart;
|
| ︙ |