Better detection of panicing while panicing.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-07-30 18:59:13 +02:00
parent 1041823d42
commit d27a2bdcbf
1 changed files with 1 additions and 1 deletions

View File

@ -49,6 +49,7 @@ namespace Sortix
doublepanic = true; doublepanic = true;
return; return;
} }
panicing = true;
if ( longpanic ) if ( longpanic )
{ {
Log::Print("\e[m\e[31;40m\e[2J\e[H"); Log::Print("\e[m\e[31;40m\e[2J\e[H");
@ -80,7 +81,6 @@ namespace Sortix
Log::Print("\e[m\e[31m\e[0J"); Log::Print("\e[m\e[31m\e[0J");
Log::Print("RED MAXSI OF DEATH\n"); Log::Print("RED MAXSI OF DEATH\n");
} }
panicing = true;
} }
void PanicCalltrace() void PanicCalltrace()