mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 22:40:50 +00:00
Remove player skin box bounds check introduced in #866
Failure produces black screen.
This commit is contained in:
parent
e87f025d13
commit
acea0c54d9
1 changed files with 1 additions and 3 deletions
|
@ -5447,9 +5447,7 @@ PlayerConfig_MenuDraw(void)
|
|||
refdef.fov_y = CalcFov(refdef.fov_x, (float)refdef.width, (float)refdef.height);
|
||||
refdef.time = cls.realtime * 0.001f;
|
||||
|
||||
if (s_pmi[s_player_model_box.curvalue].skindisplaynames &&
|
||||
s_player_skin_box.curvalue > 0 &&
|
||||
s_player_skin_box.curvalue < s_pmi[s_player_model_box.curvalue].nskins)
|
||||
if (s_pmi[s_player_model_box.curvalue].skindisplaynames)
|
||||
{
|
||||
entity_t entity;
|
||||
char scratch[MAX_QPATH];
|
||||
|
|
Loading…
Reference in a new issue