Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 596ed2fc authored by Deucе's avatar Deucе 👌🏾

Erase player before draying it in update().

Fixes moveback/update duplicate character issue in REFs.
parent c487be34
......@@ -3466,6 +3466,7 @@ function update(skip) {
var orig_attr = dk.console.attr.value;
if (map !== undefined) {
erase_player();
dk.console.gotoxy(player.x - 1, player.y - 1);
foreground(15);
background(map.mapinfo[getpoffset()].backcolour);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment