remove a bunch of superfluous formatting calls
From /dev/humancontroller.
This commit is contained in:
1 parent
20c6d1e33f
commit
2db73231eb
6 files changed
+18
-18
No files matched your search
+4
-4
@@ -110,11 +110,11 @@ CheatsOk
|
||||
*/
|
||||
qboolean CheatsOk( gentity_t *ent ) {
|
||||
if ( !g_cheats.integer ) {
|
||||
trap_SendServerCommand( ent-g_entities, va("print \"Cheats are not enabled on this server.\n\""));
|
||||
trap_SendServerCommand( ent-g_entities, "print \"Cheats are not enabled on this server.\n\"");
|
||||
return qfalse;
|
||||
}
|
||||
if ( ent->health <= 0 ) {
|
||||
trap_SendServerCommand( ent-g_entities, va("print \"You must be alive to use this command.\n\""));
|
||||
trap_SendServerCommand( ent-g_entities, "print \"You must be alive to use this command.\n\"");
|
||||
return qfalse;
|
||||
}
|
||||
return qtrue;
|
||||
@@ -1536,11 +1536,11 @@ void Cmd_SetViewpos_f( gentity_t *ent ) {
|
||||
int i;
|
||||
|
||||
if ( !g_cheats.integer ) {
|
||||
trap_SendServerCommand( ent-g_entities, va("print \"Cheats are not enabled on this server.\n\""));
|
||||
trap_SendServerCommand( ent-g_entities, "print \"Cheats are not enabled on this server.\n\"");
|
||||
return;
|
||||
}
|
||||
if ( trap_Argc() != 5 ) {
|
||||
trap_SendServerCommand( ent-g_entities, va("print \"usage: setviewpos x y z yaw\n\""));
|
||||
trap_SendServerCommand( ent-g_entities, "print \"usage: setviewpos x y z yaw\n\"");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user