Browse Source

Handle inactive towners

pull/991/head
Anders Jenbo 5 years ago
parent
commit
1117412fd2
  1. 3
      Source/towners.cpp

3
Source/towners.cpp

@ -519,6 +519,9 @@ void TownCtrlMsg(int i)
int p;
int dx, dy;
if (i == -1)
return;
if (towner[i]._tbtcnt != 0) {
p = towner[i]._tVar1;
dx = abs(towner[i]._tx - plr[p]._px);

Loading…
Cancel
Save