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

Comparing deliantra/server/server/disease.C (file contents):
Revision 1.11 by root, Wed Dec 13 03:28:42 2006 UTC vs.
Revision 1.12 by root, Wed Dec 20 09:14:22 2006 UTC

276 { 276 {
277 sint16 i2, j2; 277 sint16 i2, j2;
278 mflags = get_map_flags (map, &map2, i, j, &i2, &j2); 278 mflags = get_map_flags (map, &map2, i, j, &i2, &j2);
279 279
280 if (!(mflags & P_OUT_OF_MAP) && (mflags & P_IS_ALIVE)) 280 if (!(mflags & P_OUT_OF_MAP) && (mflags & P_IS_ALIVE))
281 for (tmp = get_map_ob (map2, i2, j2); tmp; tmp = tmp->above) 281 for (tmp = GET_MAP_OB (map2, i2, j2); tmp; tmp = tmp->above)
282 infect_object (tmp, disease, 0); 282 infect_object (tmp, disease, 0);
283 } 283 }
284 284
285 return 1; 285 return 1;
286} 286}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines