Fix the boulder spawn, due to weird ORCA sign extension
This commit is contained in:
parent
9dd2c1874b
commit
240fd414f9
|
@ -608,7 +608,7 @@ e_them_t3_action2(U8 e)
|
||||||
y += 0xff00;
|
y += 0xff00;
|
||||||
y += ent_ents[e].y;
|
y += ent_ents[e].y;
|
||||||
*/
|
*/
|
||||||
y = ent_ents[e].y + ent_mvstep[ent_ents[e].step_no].dy;
|
y = ent_ents[e].y + ((S16)(ent_mvstep[ent_ents[e].step_no].dy));
|
||||||
if (y > 0 && y < 0x0140) {
|
if (y > 0 && y < 0x0140) {
|
||||||
ent_ents[e].y = y;
|
ent_ents[e].y = y;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue