| 62 | |
| 63 | |
| 64 | void MapLight::createMeshLocal() |
| 65 | { |
| 66 | MovableGameEntity::createMeshLocal(); |
| 67 | |
| 68 | if(getIsOnServerMap()) |
| 69 | return; |
| 70 | |
| 71 | // Only show the visual light entity if we are in editor mode |
| 72 | RenderManager::getSingleton().rrCreateMapLight(this, getGameMap()->isInEditorMode()); |
| 73 | } |
| 74 | |
| 75 | void MapLight::destroyMeshLocal() |
| 76 | { |
nothing calls this directly
no test coverage detected