Skip to content

Commit 6607f7a

Browse files
committed
Fixed typo
1 parent bd256d4 commit 6607f7a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

d_ticcmd.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ interface
3737
forwardmove: shortint; // *2048 for move
3838
sidemove: shortint; // *2048 for move
3939
angleturn: smallint; // <<16 for angle delta
40-
consistancy: smallint; // checks for net game
40+
consistency: smallint; // checks for net game
4141
chatchar: byte;
4242
buttons: byte;
4343
end;

g_game.pas

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ procedure G_DoSaveGame; forward;
233233
demo_p: PByteArray;
234234
demoend: PByteArray;
235235

236-
consistancy: array[0..MAXPLAYERS - 1] of array[0..BACKUPTICS - 1] of smallint;
236+
consistency: array[0..MAXPLAYERS - 1] of array[0..BACKUPTICS - 1] of smallint;
237237

238238
savebuffer: PByteArray;
239239

@@ -305,7 +305,7 @@ procedure G_BuildTiccmd(cmd: Pticcmd_t);
305305

306306
memcpy(cmd, base, SizeOf(cmd^));
307307

308-
cmd.consistancy := consistancy[consoleplayer][maketic mod BACKUPTICS];
308+
cmd.consistency := consistency[consoleplayer][maketic mod BACKUPTICS];
309309

310310
strafe := gamekeydown[key_strafe] or
311311
((usemouse <> 0) and mousebuttons[mousebstrafe]) or
@@ -729,8 +729,8 @@ procedure G_Ticker;
729729
end;
730730
end;
731731

732-
// get commands, check consistancy,
733-
// and build new consistancy check
732+
// get commands, check consistency,
733+
// and build new consistency check
734734
buf := (gametic div ticdup) mod BACKUPTICS;
735735

736736
for i := 0 to MAXPLAYERS - 1 do
@@ -758,13 +758,13 @@ procedure G_Ticker;
758758
if netgame and not netdemo and (gametic mod ticdup = 0) then
759759
begin
760760
if (gametic > BACKUPTICS) and
761-
(consistancy[i][buf] <> cmd.consistancy) then
761+
(consistency[i][buf] <> cmd.consistency) then
762762
I_Error('G_Ticker(): consistency failure (%d should be %d)',
763-
[cmd.consistancy, consistancy[i][buf]]);
763+
[cmd.consistency, consistency[i][buf]]);
764764
if players[i].mo <> nil then
765-
consistancy[i][buf] := players[i].mo.x
765+
consistency[i][buf] := players[i].mo.x
766766
else
767-
consistancy[i][buf] := rndindex;
767+
consistency[i][buf] := rndindex;
768768
end;
769769
end;
770770
end;
@@ -1324,7 +1324,7 @@ procedure G_DoSaveGame;
13241324
P_ArchiveThinkers;
13251325
P_ArchiveSpecials;
13261326

1327-
save_p[0] := $1d; // consistancy marker
1327+
save_p[0] := $1d; // consistency marker
13281328
save_p := @save_p[1];
13291329

13301330
len := integer(save_p) - integer(savebuffer);

0 commit comments

Comments
 (0)