Changeset 132 for abuse/trunk/src/cop.cpp
- Timestamp:
- Mar 22, 2008, 11:12:56 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/cop.cpp
r126 r132 170 170 171 171 // if the pointer is too close to the player go with the angle shown, not the angle through the pointer 172 if (abs(q->y-fb[1]-v->pointer_y)<45 & abs(v->pointer_x-q->x+fb[0])<40)172 if (abs(q->y-fb[1]-v->pointer_y)<45 && abs(v->pointer_x-q->x+fb[0])<40) 173 173 o->lvars[point_angle]=lisp_atan2(fb[1]-iy,fb[0]-ix); 174 174 else
Note: See TracChangeset
for help on using the changeset viewer.