fix(iw4x_utility): ufo/noclip

pull/3/head
Edo 2023-04-03 11:03:50 +02:00 committed by GitHub
parent 4d9d45899f
commit bae35aa0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/* /*
============= =============
///ScriptDocBegin ///ScriptDocBegin
"Name: noclip()" "Name: _noclip()"
"Summary: noclip used on a player entity will make them fly and clip through walls." "Summary: noclip used on a player entity will make them fly and clip through walls."
"Module: IW4x Utility" "Module: IW4x Utility"
"CallOn: An entity" "CallOn: An entity"
@ -10,7 +10,7 @@
///ScriptDocEnd ///ScriptDocEnd
============= =============
*/ */
noclip() _noclip()
{ {
if ( self.clientflags & 1 ) if ( self.clientflags & 1 )
{ {
@ -27,7 +27,7 @@ noclip()
/* /*
============= =============
///ScriptDocBegin ///ScriptDocBegin
"Name: ufo()" "Name: _ufo()"
"Summary: ufo used on a player entity will make them fly and clip through walls." "Summary: ufo used on a player entity will make them fly and clip through walls."
"Module: IW4x Utility" "Module: IW4x Utility"
"CallOn: An entity" "CallOn: An entity"
@ -36,7 +36,7 @@ noclip()
///ScriptDocEnd ///ScriptDocEnd
============= =============
*/ */
ufo() _ufo()
{ {
if ( self.clientflags & 2 ) if ( self.clientflags & 2 )
{ {