diff options
Diffstat (limited to 'src/client/view.cc')
| -rw-r--r-- | src/client/view.cc | 7 | 
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/view.cc b/src/client/view.cc index 32f2971..8cf1af9 100644 --- a/src/client/view.cc +++ b/src/client/view.cc @@ -204,8 +204,11 @@ void draw_entity_offscreen_target(core::Entity *entity, bool is_active_target)  	}  	const float r = 16; -	cx = (0.5f - cx) * (float) video::width; -	cy = (0.5f - cy) * (float)video::height; +	const float margin =  24; +	cx = (0.5f - cx) * ((float) video::width - margin*2); +	cx += margin; +	cy = (0.5f - cy) * ((float)video::height - margin*2); +	cy += margin;  	render::gl::disable(GL_TEXTURE_2D);  	render::gl::color(0, 0, 0, 1);  | 
