… | |
… | |
1128 | |
1128 | |
1129 | void |
1129 | void |
1130 | shop_listing (object *sign, object *op) |
1130 | shop_listing (object *sign, object *op) |
1131 | { |
1131 | { |
1132 | int i, j, numitems = 0, numallocated = 0, x1, x2, y1, y2; |
1132 | int i, j, numitems = 0, numallocated = 0, x1, x2, y1, y2; |
1133 | const char *shop_coords = get_ob_key_value (sign, "shop_coords"); |
1133 | const char *shop_coords = sign->kv (shstr_shop_coords); |
1134 | object *stack; |
1134 | object *stack; |
1135 | shopinv *items; |
1135 | shopinv *items; |
1136 | |
1136 | |
1137 | /* Should never happen, but just in case a monster does apply a sign */ |
1137 | /* Should never happen, but just in case a monster does apply a sign */ |
1138 | if (op->type != PLAYER) |
1138 | if (op->type != PLAYER) |