summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-05-15 07:17:18 +0100
committerIronClawTrem <louie.nutman@gmail.com>2020-05-15 07:17:30 +0100
commit5fcebc5a836923df2b6444152a546aac1a0d44b4 (patch)
treee0a6ad1143964e6738f3d748973062216afa317e /src
parent8ecfeae2f63bde13e4874b3a344b663f7d355038 (diff)
correct some syntax
Diffstat (limited to 'src')
-rw-r--r--src/game/g_admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index 204e091..0d4848d 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -7898,7 +7898,7 @@ qboolean G_admin_hstage( gentity_t *ent, int skiparg )
return qfalse;
}
- if( lvl != 1 | lvl != 2 | lvl != 3)
+ if( ( lvl != 1 ) | ( lvl != 2 ) | ( lvl != 3 ) )
{
ADMP( "^3!hstage: ^7invalid stage!\n" );
return qfalse;
@@ -7933,7 +7933,7 @@ qboolean G_admin_astage( gentity_t *ent, int skiparg )
return qfalse;
}
- if( lvl != 1 | lvl != 2 | lvl != 3)
+ if( ( lvl != 1 ) | ( lvl != 2 ) | ( lvl != 3 ) )
{
ADMP( "^3!astage: ^7invalid stage!\n" );
return qfalse;