No objections were heard to this previously circulated
change.
> Clipping should occur right before user input (rhack) vs in the
> beginning of the move loop. For example, if hero had
> "teleportitis" and teleported because of that then the clipping
> region was not updated to reflect a new hero position until the
> next turn. This patch fixes that.
youmonst.movement = NORMAL_SPEED; /* give the hero some movement points */
for(;;) {
-#ifdef CLIPPING
- cliparound(u.ux, u.uy);
-#endif
get_nh_event();
#ifdef POSITIONBAR
do_positionbar();
sanity_check();
#endif
+#ifdef CLIPPING
+ /* just before rhack */
+ cliparound(u.ux, u.uy);
+#endif
+
u.umoved = FALSE;
if (multi > 0) {