Switch to using atoidx whenever we are handling an IDXTYPE. cleanup and linting of asciimap.c

This commit is contained in:
welcor
2024-12-31 00:18:53 +01:00
parent 9c5787129b
commit b489a72c58
28 changed files with 478 additions and 422 deletions
+1 -1
View File
@@ -1506,7 +1506,7 @@ void show_shops(struct char_data *ch, char *arg)
return;
}
} else if (is_number(arg))
shop_nr = real_shop(atoi(arg));
shop_nr = real_shop(atoidx(arg));
else
shop_nr = -1;