From 5eae6de2f4c587023e48f4cb00d75eee8cfdb4f5 Mon Sep 17 00:00:00 2001 From: Sebastian Buchwald Date: Tue, 26 Jul 2016 14:41:03 +0200 Subject: [PATCH] Fix some typos in comments --- code/game/g_combat.c | 2 +- code/qcommon/cm_patch.c | 4 ++-- code/qcommon/files.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/g_combat.c b/code/game/g_combat.c index b981c581..7e1f1f4e 100644 --- a/code/game/g_combat.c +++ b/code/game/g_combat.c @@ -815,7 +815,7 @@ void G_Damage( gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, return; } - // the intermission has allready been qualified for, so don't + // the intermission has already been qualified for, so don't // allow any extra scoring if ( level.intermissionQueued ) { return; diff --git a/code/qcommon/cm_patch.c b/code/qcommon/cm_patch.c index e4b90002..1a33308e 100644 --- a/code/qcommon/cm_patch.c +++ b/code/qcommon/cm_patch.c @@ -869,7 +869,7 @@ void CM_AddFacetBevels( facet_t *facet ) { if (CM_PlaneEqual(&planes[facet->surfacePlane], plane, &flipped)) { continue; } - // see if the plane is allready present + // see if the plane is already present for ( i = 0 ; i < facet->numBorders ; i++ ) { if (CM_PlaneEqual(&planes[facet->borderPlanes[i]], plane, &flipped)) break; @@ -933,7 +933,7 @@ void CM_AddFacetBevels( facet_t *facet ) { if (CM_PlaneEqual(&planes[facet->surfacePlane], plane, &flipped)) { continue; } - // see if the plane is allready present + // see if the plane is already present for ( i = 0 ; i < facet->numBorders ; i++ ) { if (CM_PlaneEqual(&planes[facet->borderPlanes[i]], plane, &flipped)) { break; diff --git a/code/qcommon/files.c b/code/qcommon/files.c index 3b4a8aeb..4df92f63 100644 --- a/code/qcommon/files.c +++ b/code/qcommon/files.c @@ -2208,7 +2208,7 @@ static int FS_AddFileToList( char *name, char *list[MAX_FOUND_FILES], int nfiles } for ( i = 0 ; i < nfiles ; i++ ) { if ( !Q_stricmp( name, list[i] ) ) { - return nfiles; // allready in list + return nfiles; // already in list } } list[nfiles] = CopyString( name );