Mercurial > hg > early-roguelike
comparison arogue7/save.c @ 168:82b2a046d151
arogue7: fix inventory display bug again.
Removing the call to msg() in restore() resulted in msgw remaining as
it was when the game was saved. This results in another display glitch
like that fixed by r163. Adding an empty message puts msgw into a
reliable state.
author | John "Elwin" Edwards |
---|---|
date | Tue, 30 Jun 2015 12:00:02 -0400 |
parents | 2d94c32a709e |
children | aa8e1fc62926 |
comparison
equal
deleted
inserted
replaced
167:a0a57cf42810 | 168:82b2a046d151 |
---|---|
237 lines = LINES; | 237 lines = LINES; |
238 if (cols > 85) cols = 85; | 238 if (cols > 85) cols = 85; |
239 if (lines > 24) lines = 24; | 239 if (lines > 24) lines = 24; |
240 | 240 |
241 mpos = 0; | 241 mpos = 0; |
242 msg(""); | |
242 /*msg("%s: %s", file, ctime(&sbuf2.st_mtime));*/ | 243 /*msg("%s: %s", file, ctime(&sbuf2.st_mtime));*/ |
243 | 244 |
244 /* | 245 /* |
245 * defeat multiple restarting from the same place | 246 * defeat multiple restarting from the same place |
246 */ | 247 */ |