From: Stephen Kitt <skitt@debian.org>
Date: Fri, 26 Aug 2016 22:44:29 +0200
Subject: Spelling fixes

---
 Quake/cmd.c      |  2 +-
 Quake/gl_model.c |  2 +-
 Quake/host_cmd.c |  8 ++++----
 Quake/net_dgrm.c |  4 ++--
 Quake/sv_main.c  |  2 +-
 Quake/zone.c     | 18 +++++++++---------
 6 files changed, 18 insertions(+), 18 deletions(-)

--- a/Quake/cmd.c
+++ b/Quake/cmd.c
@@ -334,7 +334,7 @@
 			return;
 		}
 
-		// if the alias allready exists, reuse it
+		// if the alias already exists, reuse it
 		for (a = cmd_alias ; a ; a=a->next)
 		{
 			if (!strcmp(s, a->name))
--- a/Quake/gl_model.c
+++ b/Quake/gl_model.c
@@ -605,7 +605,7 @@
 		if (!tx || tx->name[0] != '+')
 			continue;
 		if (tx->anim_next)
-			continue;	// allready sequenced
+			continue;	// already sequenced
 
 	// find the number of frames in the animation
 		memset (anims, 0, sizeof(anims));
--- a/Quake/host_cmd.c
+++ b/Quake/host_cmd.c
@@ -1531,7 +1531,7 @@
 
 	if (sv_player->v.health <= 0)
 	{
-		SV_ClientPrintf ("Can't suicide -- allready dead!\n");
+		SV_ClientPrintf ("Can't suicide -- already dead!\n");
 		return;
 	}
 
@@ -1600,7 +1600,7 @@
 
 	if (host_client->spawned)
 	{
-		Con_Printf ("prespawn not valid -- allready spawned\n");
+		Con_Printf ("prespawn not valid -- already spawned\n");
 		return;
 	}
 
@@ -1629,13 +1629,13 @@
 
 	if (host_client->spawned)
 	{
-		Con_Printf ("Spawn not valid -- allready spawned\n");
+		Con_Printf ("Spawn not valid -- already spawned\n");
 		return;
 	}
 
 // run the entrance script
 	if (sv.loadgame)
-	{	// loaded games are fully inited allready
+	{	// loaded games are fully inited already
 		// if this is the last client to be connected, unpause
 		sv.paused = false;
 	}
--- a/Quake/net_dgrm.c
+++ b/Quake/net_dgrm.c
@@ -554,7 +554,7 @@
 			break;
 
 		if (MSG_ReadByte() != CCREP_PLAYER_INFO)
-			Sys_Error("Unexpected repsonse to Player Info request\n");
+			Sys_Error("Unexpected response to Player Info request\n");
 
 		MSG_ReadByte(); /* playerNumber */
 		Q_strcpy(name, MSG_ReadString());
@@ -706,7 +706,7 @@
 	return;
 
 Error:
-	Con_Printf("Unexpected repsonse to Rule Info request\n");
+	Con_Printf("Unexpected response to Rule Info request\n");
 Done:
 	dfunc.Close_Socket(test2Socket);
 	test2InProgress = false;
--- a/Quake/sv_main.c
+++ b/Quake/sv_main.c
@@ -178,7 +178,7 @@
 weapon, feet, etc.
 
 Channel 0 is an auto-allocate channel, the others override anything
-allready running on that entity/channel pair.
+already running on that entity/channel pair.
 
 An attenuation of 0 will play full volume everywhere in the level.
 Larger attenuations will drop off.  (max 4 attenuation)
--- a/Quake/zone.c
+++ b/Quake/zone.c
@@ -289,7 +289,7 @@
 #define HUNKNAME_LEN	24
 typedef struct
 {
-	int		sentinal;
+	int		sentinel;
 	int		size;		// including sizeof(hunk_t), -1 = not allocated
 	char	name[HUNKNAME_LEN];
 } hunk_t;
@@ -307,7 +307,7 @@
 ==============
 Hunk_Check
 
-Run consistancy and sentinal trahing checks
+Run consistancy and sentinel trahing checks
 ==============
 */
 void Hunk_Check (void)
@@ -316,8 +316,8 @@
 
 	for (h = (hunk_t *)hunk_base ; (byte *)h != hunk_base + hunk_low_used ; )
 	{
-		if (h->sentinal != HUNK_SENTINAL)
-			Sys_Error ("Hunk_Check: trahsed sentinal");
+		if (h->sentinel != HUNK_SENTINAL)
+			Sys_Error ("Hunk_Check: trashed sentinel");
 		if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size)
 			Sys_Error ("Hunk_Check: bad size");
 		h = (hunk_t *)((byte *)h+h->size);
@@ -373,8 +373,8 @@
 	//
 	// run consistancy checks
 	//
-		if (h->sentinal != HUNK_SENTINAL)
-			Sys_Error ("Hunk_Check: trahsed sentinal");
+		if (h->sentinel != HUNK_SENTINAL)
+			Sys_Error ("Hunk_Check: trashed sentinel");
 		if (h->size < (int) sizeof(hunk_t) || h->size + (byte *)h - hunk_base > hunk_size)
 			Sys_Error ("Hunk_Check: bad size");
 
@@ -449,7 +449,7 @@
 	memset (h, 0, size);
 
 	h->size = size;
-	h->sentinal = HUNK_SENTINAL;
+	h->sentinel = HUNK_SENTINAL;
 	q_strlcpy (h->name, name, HUNKNAME_LEN);
 
 	return (void *)(h+1);
@@ -540,7 +540,7 @@
 
 	memset (h, 0, size);
 	h->size = size;
-	h->sentinal = HUNK_SENTINAL;
+	h->sentinel = HUNK_SENTINAL;
 	q_strlcpy (h->name, name, HUNKNAME_LEN);
 
 	return (void *)(h+1);
@@ -906,7 +906,7 @@
 	cache_system_t	*cs;
 
 	if (c->data)
-		Sys_Error ("Cache_Alloc: allready allocated");
+		Sys_Error ("Cache_Alloc: already allocated");
 
 	if (size <= 0)
 		Sys_Error ("Cache_Alloc: size %i", size);
