Switch to using atoidx whenever we are handling an IDXTYPE. cleanup and linting of asciimap.c
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user