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

Comparing deliantra/server/common/button.C (file contents):
Revision 1.70 by root, Mon Oct 29 23:55:52 2012 UTC vs.
Revision 1.71 by root, Mon Nov 12 03:14:32 2012 UTC

236 236
237 object *tmp = ol->ob; 237 object *tmp = ol->ob;
238 238
239 if (tmp->type == BUTTON) 239 if (tmp->type == BUTTON)
240 { 240 {
241 sint32 total = 0; 241 weight_t total = 0;
242 242
243 for (object *ab = tmp->above; ab; ab = ab->above) 243 for (object *ab = tmp->above; ab; ab = ab->above)
244 /* Basically, if the move_type matches that on what the 244 /* Basically, if the move_type matches that on what the
245 * button wants, we count it. The second check is so that 245 * button wants, we count it. The second check is so that
246 * objects who don't move (swords, etc) will count. Note that 246 * objects who don't move (swords, etc) will count. Note that

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines