summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-05-11 14:21:27 +0000
committerTim Angus <tim@ngus.net>2013-01-09 22:09:28 +0000
commitcb46887e85418792ebbe4a2753bf032f260c9f5d (patch)
treee170bfcea90a16a4764b91abde9b50e9104efef6 /src
parent6d1e239d6d4e7b00c6e471b85ad8eb7b7702dbc2 (diff)
Refactoring patch by DevHC
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/vm_powerpc_asm.c3
-rw-r--r--src/server/sv_client.c2
-rw-r--r--src/server/sv_snapshot.c2
3 files changed, 2 insertions, 5 deletions
diff --git a/src/qcommon/vm_powerpc_asm.c b/src/qcommon/vm_powerpc_asm.c
index 58d65a00..19199321 100644
--- a/src/qcommon/vm_powerpc_asm.c
+++ b/src/qcommon/vm_powerpc_asm.c
@@ -65,7 +65,6 @@ struct powerpc_opcode
};
static const struct powerpc_opcode powerpc_opcodes[];
-static const int powerpc_num_opcodes;
#define PPC_OPCODE_PPC 1
#define PPC_OPCODE_POWER 2
@@ -112,7 +111,6 @@ struct powerpc_operand
};
static const struct powerpc_operand powerpc_operands[];
-static const unsigned int num_powerpc_operands;
#define PPC_OPERAND_SIGNED (0x1)
#define PPC_OPERAND_SIGNOPT (0x2)
@@ -390,7 +388,6 @@ static const struct powerpc_operand powerpc_operands[] =
};
-static const unsigned int num_powerpc_operands = ARRAY_LEN (powerpc_operands);
/* The functions used to insert and extract complicated operands. */
diff --git a/src/server/sv_client.c b/src/server/sv_client.c
index 40212b0c..124c0a74 100644
--- a/src/server/sv_client.c
+++ b/src/server/sv_client.c
@@ -1304,7 +1304,7 @@ static qboolean SV_ClientCommand( client_t *cl, msg_t *msg ) {
// the command, we will stop processing the rest of the packet,
// including the usercmd. This causes flooders to lag themselves
// but not other people
- // We don't do this when the client hasn't been active yet since its
+ // We don't do this when the client hasn't been active yet since it's
// normal to spam a lot of commands when downloading
#if 0 // flood protection in game for trem
if ( !com_cl_running->integer &&
diff --git a/src/server/sv_snapshot.c b/src/server/sv_snapshot.c
index cfc56958..a7d0f17b 100644
--- a/src/server/sv_snapshot.c
+++ b/src/server/sv_snapshot.c
@@ -413,7 +413,7 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra
// add it
SV_AddEntToSnapshot( svEnt, ent, eNums );
- // if its a portal entity, add everything visible from its camera position
+ // if it's a portal entity, add everything visible from its camera position
if ( ent->r.svFlags & SVF_PORTAL ) {
if ( ent->s.generic1 ) {
vec3_t dir;