… | |
… | |
182 | ns->update_look = 0; |
182 | ns->update_look = 0; |
183 | ns->look_position = 0; |
183 | ns->look_position = 0; |
184 | |
184 | |
185 | clear_los (ob); |
185 | clear_los (ob); |
186 | |
186 | |
|
|
187 | /* make sure he's a player -- needed because of class change. */ |
187 | ob->type = PLAYER; // we are paranoid |
188 | ob->type = PLAYER; // we are paranoid |
188 | ob->race = ob->arch->clone.race; |
189 | ob->race = ob->arch->clone.race; |
189 | |
190 | |
190 | if (!legal_range (ob, shoottype)) |
191 | if (!legal_range (ob, shoottype)) |
191 | shoottype = range_none; |
192 | shoottype = range_none; |