cleanup, add manual page
[unix-history] / usr / src / games / phantasia / fight.c
index 49c4b2c..1e9dd0d 100644 (file)
@@ -1467,7 +1467,7 @@ double    dtemp;                          /* for temporary calculations */
 
                                    addstr("X Y Coordinates ? ");
                                    getstring(Databuf, SZ_DATABUF);
 
                                    addstr("X Y Coordinates ? ");
                                    getstring(Databuf, SZ_DATABUF);
-                                   sscanf(Databuf, "%F %F", &x, &y);
+                                   sscanf(Databuf, "%lf %lf", &x, &y);
                                    altercoordinates(x, y, A_FORCED);
                                    }
                                break;
                                    altercoordinates(x, y, A_FORCED);
                                    }
                                break;