Fix the boulder spawn, due to weird ORCA sign extension

This commit is contained in:
dwsJason 2018-09-01 13:48:19 -04:00
parent 9dd2c1874b
commit 240fd414f9
1 changed files with 1 additions and 1 deletions

View File

@ -608,7 +608,7 @@ e_them_t3_action2(U8 e)
y += 0xff00;
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) {
ent_ents[e].y = y;
return;