Visual C points out a couple of typos.

[originally from svn r5661]
This commit is contained in:
Simon Tatham
2005-04-23 16:41:35 +00:00
parent 0c55b7e16f
commit 5b1235c369

4
solo.c
View File

@ -221,8 +221,8 @@ static game_params *custom_params(config_item *cfg)
{ {
game_params *ret = snew(game_params); game_params *ret = snew(game_params);
ret->c = atof(cfg[0].sval); ret->c = atoi(cfg[0].sval);
ret->r = atof(cfg[1].sval); ret->r = atoi(cfg[1].sval);
return ret; return ret;
} }