# HG changeset patch # User zipi # Date 1360190238 0 # Node ID 471b1354cc73ac9505c528f40a76fafe73026419 # Parent d61f6bc04bf20ffa3bbe67577c528b2d9faa5ed8 previous commit fix diff -r d61f6bc04bf2 -r 471b1354cc73 mm7_5.cpp --- 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;