summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Haley2011-09-13 02:45:40 +0000
committerJames Haley2011-09-13 02:45:40 +0000
commit9b4b2d59a986354f6b6c1921d8bf7087b73db078 (patch)
tree06bc867139269baa5e26ebcbc86cacd445603244 /src
parentf2042da13067be18f36f14d8f217d1f9e3763905 (diff)
downloadchocolate-doom-9b4b2d59a986354f6b6c1921d8bf7087b73db078.tar.gz
chocolate-doom-9b4b2d59a986354f6b6c1921d8bf7087b73db078.tar.bz2
chocolate-doom-9b4b2d59a986354f6b6c1921d8bf7087b73db078.zip
Remove use of magic number in M_ReadMisObj, and fix Kaiser's name while
at it. Subversion-branch: /branches/v2-branch Subversion-revision: 2376
Diffstat (limited to 'src')
-rw-r--r--src/strife/m_saves.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strife/m_saves.c b/src/strife/m_saves.c
index 186cef21..74717dbd 100644
--- a/src/strife/m_saves.c
+++ b/src/strife/m_saves.c
@@ -2,7 +2,7 @@
//-----------------------------------------------------------------------------
//
// Copyright(C) 1993-1996 Id Software, Inc.
-// Copyright(C) 2010 James Haley, Samuel Villareal
+// Copyright(C) 2010 James Haley, Samuel Villarreal
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -301,7 +301,7 @@ void M_ReadMisObj(void)
if((f = fopen(srcpath, "rb")))
{
- fread(mission_objective, 1, 300, f);
+ fread(mission_objective, 1, OBJECTIVE_LEN, f);
fclose(f);
}