Browse Source

[controller] only move map when in dungion

The map status can not be changed in town but is remembered
pull/520/head
Anders Jenbo 6 years ago
parent
commit
57e960aeda
  1. 2
      SourceX/controls/plrctrls.cpp

2
SourceX/controls/plrctrls.cpp

@ -878,7 +878,7 @@ void HandleRightStickMotion()
return;
}
if (automapflag) { // move map
if (automapflag && currlevel != DTYPE_TOWN) { // move map
int dx = 0, dy = 0;
acc.pool(&dx, &dy, 32);
AutoMapXOfs += dy + dx;

Loading…
Cancel
Save