… | |
… | |
103 | case MOOD_FLOOR: |
103 | case MOOD_FLOOR: |
104 | do_mood_floor (tmp, source); |
104 | do_mood_floor (tmp, source); |
105 | break; |
105 | break; |
106 | |
106 | |
107 | case TIMED_GATE: |
107 | case TIMED_GATE: |
108 | tmp->set_speed (tmp->arch->clone.speed); |
108 | tmp->set_speed (tmp->arch->speed); |
109 | tmp->value = tmp->arch->clone.value; |
109 | tmp->value = tmp->arch->value; |
110 | tmp->stats.sp = 1; |
110 | tmp->stats.sp = 1; |
111 | tmp->stats.hp = tmp->stats.maxhp; |
111 | tmp->stats.hp = tmp->stats.maxhp; |
112 | /* Handle multipart gates. We copy the value for the other parts |
112 | /* Handle multipart gates. We copy the value for the other parts |
113 | * from the head - this ensures that the data will consistent |
113 | * from the head - this ensures that the data will consistent |
114 | */ |
114 | */ |