Wed Nov 3 23:58:36 GMT 1999
(gilbertt) More late-night coding for Tom ;-) The trouble with using a .1f format string for something which will accept a < 0.1 value, is that the value is written as 0.0 This is clearly not a good idea, and led to an interesting 5 minute bug-hunt. Time for sleep. SVN revision: 1166
This commit is contained in:
parent
23c0139c3a
commit
12a92c2ff0
11
ChangeLog
11
ChangeLog
|
@ -233,3 +233,14 @@ Tue Nov 2 18:28:36 PST 1999
|
|||
(KainX)
|
||||
|
||||
A new cloak mode for E-ScreenShoot...random! You can guess what it does.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Wed Nov 3 23:58:36 GMT 1999
|
||||
(gilbertt)
|
||||
|
||||
More late-night coding for Tom ;-)
|
||||
The trouble with using a .1f format string for something which will
|
||||
accept a < 0.1 value, is that the value is written as 0.
|
||||
This is clearly not a good idea, and led to an interesting 5 minutes
|
||||
bug-hunt.
|
||||
|
|
|
@ -52,13 +52,13 @@ save_config (void)
|
|||
Epplet_modify_config ("QUALITY", buf);
|
||||
sprintf (buf, "%d", opt.win);
|
||||
Epplet_modify_config ("WIN_AREA", buf);
|
||||
sprintf (buf, "%.1f", opt.delay);
|
||||
sprintf (buf, "%.2f", opt.delay);
|
||||
Epplet_modify_config ("SHOT_DELAY", buf);
|
||||
sprintf (buf, "%.1f", opt.cloak_delay);
|
||||
sprintf (buf, "%.2f", opt.cloak_delay);
|
||||
Epplet_modify_config ("CLOAK_DELAY", buf);
|
||||
sprintf (buf, "%.1f", opt.draw_interval);
|
||||
sprintf (buf, "%.2f", opt.draw_interval);
|
||||
Epplet_modify_config ("DRAW_INTERVAL", buf);
|
||||
sprintf (buf, "%.1f", opt.rand_delay);
|
||||
sprintf (buf, "%.2f", opt.rand_delay);
|
||||
Epplet_modify_config ("RAND_DELAY", buf);
|
||||
sprintf (buf, "%d", opt.do_cloak);
|
||||
Epplet_modify_config ("DO_CLOAK", buf);
|
||||
|
|
Loading…
Reference in New Issue