aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/solo.c b/solo.c
index dfeeca5..35a081f 100644
--- a/solo.c
+++ b/solo.c
@@ -221,8 +221,8 @@ static game_params *custom_params(config_item *cfg)
{
game_params *ret = snew(game_params);
- ret->c = atof(cfg[0].sval);
- ret->r = atof(cfg[1].sval);
+ ret->c = atoi(cfg[0].sval);
+ ret->r = atoi(cfg[1].sval);
return ret;
}