… | |
… | |
161 | int i, j; |
161 | int i, j; |
162 | char *cp; |
162 | char *cp; |
163 | int joinedwalls = 0; |
163 | int joinedwalls = 0; |
164 | object *thiswall; |
164 | object *thiswall; |
165 | |
165 | |
166 | sprintf (RP->wall_name, "%s", &the_wall->arch->name); |
166 | sprintf (RP->wall_name, "%s", &the_wall->arch->archname); |
167 | if ((cp = strchr (RP->wall_name, '_')) != NULL) |
167 | if ((cp = strchr (RP->wall_name, '_')) != NULL) |
168 | { |
168 | { |
169 | *cp = 0; |
169 | *cp = 0; |
170 | joinedwalls = 1; |
170 | joinedwalls = 1; |
171 | } |
171 | } |
… | |
… | |
202 | int surround_index = 0; |
202 | int surround_index = 0; |
203 | int l; |
203 | int l; |
204 | char wall_name[1024]; |
204 | char wall_name[1024]; |
205 | archetype *wall_arch = 0; |
205 | archetype *wall_arch = 0; |
206 | |
206 | |
207 | assign (wall_name, the_wall->arch->name); |
207 | assign (wall_name, the_wall->arch->archname); |
208 | |
208 | |
209 | /* conventionally, walls are named like this: |
209 | /* conventionally, walls are named like this: |
210 | wallname_wallcode, where wallcode indicates |
210 | wallname_wallcode, where wallcode indicates |
211 | a joinedness, and wallname is the wall. |
211 | a joinedness, and wallname is the wall. |
212 | this code depends on the convention for |
212 | this code depends on the convention for |