ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/wall.C
(Generate patch)

Comparing deliantra/server/random_maps/wall.C (file contents):
Revision 1.2 by root, Tue Aug 29 08:01:36 2006 UTC vs.
Revision 1.3 by root, Sun Sep 3 00:18:42 2006 UTC

1/* 1/*
2 * static char *rcsid_wall_c = 2 * static char *rcsid_wall_c =
3 * "$Id: wall.C,v 1.2 2006/08/29 08:01:36 root Exp $"; 3 * "$Id: wall.C,v 1.3 2006/09/03 00:18:42 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
132 int i,j; 132 int i,j;
133 char *cp; 133 char *cp;
134 int joinedwalls=0; 134 int joinedwalls=0;
135 object *thiswall; 135 object *thiswall;
136 136
137 sprintf(RP->wall_name,"%s",the_wall->arch->name); 137 sprintf(RP->wall_name,"%s", &the_wall->arch->name);
138 if ((cp=strchr(RP->wall_name,'_'))!=NULL) { 138 if ((cp=strchr(RP->wall_name,'_'))!=NULL) {
139 *cp=0; 139 *cp=0;
140 joinedwalls=1; 140 joinedwalls=1;
141 } 141 }
142 142

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines