Fix issue boulder not properly chasing me, more sign extension stuff

This commit is contained in:
dwsJason 2018-09-01 14:07:10 -04:00
parent 240fd414f9
commit 86aa76b8c5
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ e_them_t3_action2(U8 e)
* else switch to next step.
*/
ent_ents[e].step_count++;
x = ent_ents[e].x + ent_mvstep[ent_ents[e].step_no].dx;
x = ent_ents[e].x + ((S16)(ent_mvstep[ent_ents[e].step_no].dx));
/* check'n save */
if (x > 0 && x < 0xe8) {