Let's give that cheat input more oomph.
This commit is contained in:
parent
29c8b3e6ab
commit
64249c2a2b
2 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r306 \cu(Tue 23 Feb 19:33:42 CET 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r306 \cu(2021-02-23 19:33:42)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r307 \cu(Tue 23 Feb 23:18:49 CET 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r307 \cu(2021-02-23 23:18:49)\c-";
|
||||
|
|
|
|||
|
|
@ -2538,19 +2538,24 @@ Class SWWMHandler : EventHandler
|
|||
kstr.AppendCharacter(e.KeyChar);
|
||||
if ( kstr.Length() > 0 )
|
||||
{
|
||||
if ( kcode >= 4 )
|
||||
S_StartSound("misc/boink",CHAN_WEAPON,CHANF_UI|CHANF_OVERLAP,pitch:FRandom[HudStuff](.8,1.2));
|
||||
for ( int i=0; i<cht.Size(); i++ )
|
||||
{
|
||||
if ( kstr != cht[i].Left(kstr.length()) ) continue;
|
||||
matchany = true;
|
||||
if ( kstr != cht[i] ) continue;
|
||||
if ( SWWMUtility.CheatsDisabled(consoleplayer) )
|
||||
{
|
||||
kfail = true;
|
||||
klinger = gametic+40;
|
||||
}
|
||||
else
|
||||
{
|
||||
kfail = false;
|
||||
klinger = gametic+60;
|
||||
SendNetworkEvent(cmd[i],consoleplayer);
|
||||
}
|
||||
klinger = gametic+60;
|
||||
klingerstr = kstr;
|
||||
kcode = 0;
|
||||
kstr = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue