| 388 | } |
| 389 | |
| 390 | void TownCtrlMsg(int i) |
| 391 | { |
| 392 | int p; |
| 393 | int dx, dy; |
| 394 | |
| 395 | if (towner[i]._tbtcnt) { |
| 396 | p = towner[i]._tVar1; |
| 397 | dx = abs(towner[i]._tx - plr[p].WorldX); |
| 398 | dy = abs(towner[i]._ty - plr[p].WorldY); |
| 399 | if (dx >= 2 || dy >= 2) |
| 400 | towner[i]._tbtcnt = 0; |
| 401 | if (!towner[i]._tbtcnt) { |
| 402 | qtextflag = FALSE; |
| 403 | sfx_stop(); |
| 404 | } |
| 405 | } |
| 406 | } |
| 407 | |
| 408 | void TownBlackSmith() |
| 409 | { |
no test coverage detected