| 379 | } |
| 380 | |
| 381 | void NPCGlyph::Render() |
| 382 | { |
| 383 | xModelInstance* model = mdl_glyph; |
| 384 | if (model == NULL) |
| 385 | { |
| 386 | return; |
| 387 | } |
| 388 | |
| 389 | if (flg_glyph & (1 << 6)) |
| 390 | { |
| 391 | xVec3Copy(&model->Scale, &scl_glyph); |
| 392 | xModelRender(mdl_glyph); |
| 393 | xVec3Copy(&mdl_glyph->Scale, &g_Onez); |
| 394 | } |
| 395 | else |
| 396 | { |
| 397 | xModelRender(model); |
| 398 | } |
| 399 | } |
| 400 | |
| 401 | void NPCGlyph::Enable(S32 ison) |
| 402 | { |
no test coverage detected