Show destructables on radar as red markers.

This commit is contained in:
Steve 2018-03-04 17:04:28 +00:00
parent f9adb8d8b8
commit af35c426e9
1 changed files with 2 additions and 5 deletions

View File

@ -162,12 +162,12 @@ static void enableMarker(int type, int i)
case ET_CELL:
case ET_KEY:
case ET_ITEM:
case ET_DESTRUCTABLE:
marker[i + 1].visible = 1;
break;
case ET_ENEMY:
case ET_BOSS:
case ET_DESTRUCTABLE:
marker[i + 2].visible = 1;
break;
@ -371,6 +371,7 @@ static void getBlipColor(Entity *e, SDL_Color *c)
case ET_ENEMY:
case ET_BOSS:
case ET_DESTRUCTABLE:
c->r = 255;
break;
@ -387,10 +388,6 @@ static void getBlipColor(Entity *e, SDL_Color *c)
c->g = 168;
c->b = 255;
break;
case ET_DESTRUCTABLE:
c->r = c->b = 255;
break;
default:
break;