Map column 0 is not a valid location

This commit is contained in:
Pasi Kallinen
2018-11-21 19:17:08 +02:00
parent 2beb36fc61
commit 030efe84fa
3 changed files with 4 additions and 4 deletions

View File

@@ -423,7 +423,7 @@ struct mail_info *info;
/* zip back to starting location */
go_back:
if (!md_rush(md, start.x, start.y))
md->mx = md->my = -1; /* for mongone, md is not on map */
md->mx = md->my = 0; /* for mongone, md is not on map */
mongone(md);
/* deliver some classes of messages even if no daemon ever shows up */
give_up: