Mercurial > mm7
diff mm7_5.cpp @ 91:471b1354cc73
previous commit fix
author | zipi |
---|---|
date | Wed, 06 Feb 2013 22:37:18 +0000 |
parents | d61f6bc04bf2 |
children | b7ff791b1333 |
line wrap: on
line diff
--- a/mm7_5.cpp Wed Feb 06 22:32:43 2013 +0000 +++ b/mm7_5.cpp Wed Feb 06 22:37:18 2013 +0000 @@ -5090,16 +5090,16 @@ v28 = pActors;//[0].vPosition.z; do { - if ( ((Actor *)(v28 - 146))->CanAct() ) + if ( v28->CanAct() ) { v29 = *(short *)v1; - v30 = *(&v28->vPosition.y - *((short *)v1 - 100); - a1 = *(&v28->vPosition.x - *((short *)v1 - 200); + v30 = v28->vPosition.y - *((short *)v1 - 100); + a1 = v28->vPosition.x - *((short *)v1 - 200); v31 = v28->vPosition.z; v48 = v30; v44 = v31; v32 = (v28->uActorHeight >> 1) - v29; - v33 = *(&v28->uActorRadius + *((short *)v1 + 100); + v33 = v28->uActorRadius + *((short *)v1 + 100); if ( a1 * a1 + v48 * v48 + (v31 + v32) * (v31 + v32) < (unsigned int)(v33 * v33) ) { v34.z = *(short *)v1;