projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup, add manual page
[unix-history]
/
usr
/
src
/
games
/
phantasia
/
fight.c
diff --git
a/usr/src/games/phantasia/fight.c
b/usr/src/games/phantasia/fight.c
index
49c4b2c
..
1e9dd0d
100644
(file)
--- a/
usr/src/games/phantasia/fight.c
+++ b/
usr/src/games/phantasia/fight.c
@@
-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;