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

Comparing deliantra/server/common/loader.C (file contents):
Revision 1.127 by root, Thu Jan 8 03:03:23 2009 UTC vs.
Revision 1.128 by root, Tue May 5 04:51:55 2009 UTC

1315 if (op->face != tmp->face ) f.put (KW_face , op->face ? &faces [op->face ] : 0); 1315 if (op->face != tmp->face ) f.put (KW_face , op->face ? &faces [op->face ] : 0);
1316 if (op->sound != tmp->sound ) f.put (KW_sound , op->sound ? &faces [op->sound ] : 0); 1316 if (op->sound != tmp->sound ) f.put (KW_sound , op->sound ? &faces [op->sound ] : 0);
1317 if (op->sound_destroy != tmp->sound_destroy) f.put (KW_sound_destroy, op->sound_destroy ? &faces [op->sound_destroy] : 0); 1317 if (op->sound_destroy != tmp->sound_destroy) f.put (KW_sound_destroy, op->sound_destroy ? &faces [op->sound_destroy] : 0);
1318 1318
1319 if (op->animation_id != tmp->animation_id) 1319 if (op->animation_id != tmp->animation_id)
1320 if (op->animation_id) 1320 if (op->has_anim ())
1321 f.put (KW_animation, animations[GET_ANIM_ID (op)].name); 1321 f.put (KW_animation, op->anim ().name);
1322 else 1322 else
1323 { 1323 {
1324 f.put (KW_animation, (const char *)0); 1324 f.put (KW_animation, (const char *)0);
1325 op->flag [FLAG_ANIMATE] = false; // TODO: why force to false here? 1325 op->flag [FLAG_ANIMATE] = false; // TODO: why force to false here?
1326 } 1326 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines