ANSIfication; bug report 4.3BSD/bin/223
[unix-history] / usr / src / games / phantasia / setup.c
index a18295d..b9d70e9 100644 (file)
@@ -144,7 +144,7 @@ static char *files[] =              /* all files to create */
            while (fgets(Databuf, SZ_DATABUF, fp) != NULL)
                /* read in text file, convert to binary */
                {
            while (fgets(Databuf, SZ_DATABUF, fp) != NULL)
                /* read in text file, convert to binary */
                {
-               sscanf(&Databuf[24], "%F%F%F%F%F%d%d%F",
+               sscanf(&Databuf[24], "%lf%lf%lf%lf%lf%d%d%lf",
                    &Curmonster.m_strength, &Curmonster.m_brains,
                    &Curmonster.m_speed, &Curmonster.m_energy,
                    &Curmonster.m_experience, &Curmonster.m_treasuretype,
                    &Curmonster.m_strength, &Curmonster.m_brains,
                    &Curmonster.m_speed, &Curmonster.m_energy,
                    &Curmonster.m_experience, &Curmonster.m_treasuretype,