Fixed formatting... Tabs/spaces

This commit is contained in:
Amos 2022-06-01 22:48:56 +01:00 committed by RaidMax
parent 31da5d352e
commit 880f9333d9

View File

@ -271,8 +271,8 @@ InitializeGameMethods()
}
if ( level.eventBus.gamename == "IW5" )
{ //PlutoIW5 only allows Godmode and NoClip if cheats are on..
level.overrideMethods["god"] = ::IW5_God;
{ //PlutoIW5 only allows Godmode and NoClip if cheats are on..
level.overrideMethods["god"] = ::IW5_God;
level.overrideMethods["noclip"] = ::IW5_NoClip;
}
}
@ -772,9 +772,9 @@ NoClipImpl()
if ( !IsAlive( self ) )
{
self IPrintLnBold( "You are not alive" );
// Due to bug when sometimes disabling noclip game thinks you're dead
// removing the return and allowing them to go back into noclip is probably better.
//return;
// Due to bug when sometimes disabling noclip game thinks you're dead
// removing the return and allowing them to go back into noclip is probably better.
//return;
}
self SetClientDvar( "sv_cheats", 1 );
@ -785,7 +785,7 @@ NoClipImpl()
self call [[level.overrideMethods["noclip"]]]( true );
self Hide();
self.isNoClipped = true;
self.isNoClipped = true;
self IPrintLnBold( "NoClip enabled" );
}
@ -808,11 +808,11 @@ NoClipOffImpl()
self IPrintLnBold( "NoClip disabled" );
if ( !IsAlive( self ) && self.isNoClipped )
if ( !IsAlive( self ) && self.isNoClipped )
{
// Sometimes you will bug exiting noclip where the game thinks you're dead
// but you're not. You will retain godmode but be able to run around and kill people.
// So, it's important to let the user know.
// Sometimes you will bug exiting noclip where the game thinks you're dead
// but you're not. You will retain godmode but be able to run around and kill people.
// So, it's important to let the user know.
self IPrintLnBold( "^1You are bugged! ^4Swap team." );
}
@ -866,7 +866,7 @@ UnhideImpl()
self call [[level.overrideMethods["god"]]]( false );
self Show();
self.isHidden = false;
self.isHidden = false;
self IPrintLnBold( "You are now ^5visible ^7to other players" );
}