Adapt code to use MSTimeF().

This commit is contained in:
Mari the Deer 2022-04-29 16:40:57 +02:00
commit 1cf4ce0d08
8 changed files with 28 additions and 35 deletions

View file

@ -26,7 +26,7 @@ Class SWWMHDoomHandler : StaticEventHandler
}
if ( !detected )
return;
SetRandomSeed[hdscreen](Random[hdscreen]()+consoleplayer+MSTime());
SetRandomSeed[hdscreen](Random[hdscreen]()+consoleplayer+int(MSTimeF()));
Console.Printf(
"\cx┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\c-\n"
"\cx┃ \cfOh my, someone appears to be \cgH \ckO \cdR \cvN \chY \ct♥ \cx┃\c-\n"

View file

@ -39,7 +39,7 @@ Class SWWMBrutalHandler : StaticEventHandler
}
if ( !detected )
return;
SetRandomSeed[bdscreen](Random[bdscreen]()+consoleplayer+MSTime());
SetRandomSeed[bdscreen](Random[bdscreen]()+consoleplayer+int(MSTimeF()));
Console.Printf(
"\cx┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\c-\n"
"\cx┃ \cfIf you have "..whichshort.." on your autoload you really shouldn't. \cx┃\c-\n"