--- deliantra/server/common/loader.C 2007/03/11 02:12:44 1.64 +++ deliantra/server/common/loader.C 2007/03/18 03:05:39 1.67 @@ -411,7 +411,7 @@ set_move (MoveType &mt, const char *str) { static const struct flagstr { - char *name; + const char *name; MoveType flags; } move_flags[] = { { "walk" , MOVE_WALK }, @@ -880,7 +880,7 @@ case KW_tooltype: f.get (tooltype); break; case KW_casting_time: f.get (casting_time); break; case KW_elevation: f.get (elevation); break; - case KW_smoothlevel: f.get (smoothlevel); break; + case KW_smoothlevel: f.get (smoothlevel); smoothlevel = clamp (smoothlevel, 0, 255); break; case KW_client_type: f.get (client_type); break; case KW_duration: f.get (duration); break; case KW_range: f.get (range); break; @@ -1245,7 +1245,8 @@ f.put (KW_lore, KW_endlore, op->lore); CMP_OUT (other_arch); - CMP_OUT (face); + + if (op->face != tmp->face) f.put (KW_face, op->face ? &faces [op->face] : 0); if (op->animation_id != tmp->animation_id) if (op->animation_id)