Serveral fixes and updates

This commit is contained in:
Michiel Broek
2003-01-11 12:14:04 +00:00
parent 27ae851cf5
commit e63a3b2bf5
4 changed files with 64 additions and 49 deletions

View File

@@ -196,11 +196,11 @@ int Crash_Option(faddr *Dest)
if (exitinfo.Security.level < CFG.iCrashLevel)
return 0;
cmmask = getCMmask();
point = Dest->point;
Dest->point = 0;
if (((Nlent = getnlent(Dest)) != NULL) && (Nlent->addr.zone)) {
cmmask = getCMmask();
if (Nlent->oflags & cmmask) {
/* Crash [y/N]: */
pout(CYAN, BLACK, (char *)Language(461));