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_CELL:
case ET_KEY: case ET_KEY:
case ET_ITEM: case ET_ITEM:
case ET_DESTRUCTABLE:
marker[i + 1].visible = 1; marker[i + 1].visible = 1;
break; break;
case ET_ENEMY: case ET_ENEMY:
case ET_BOSS: case ET_BOSS:
case ET_DESTRUCTABLE:
marker[i + 2].visible = 1; marker[i + 2].visible = 1;
break; break;
@ -371,6 +371,7 @@ static void getBlipColor(Entity *e, SDL_Color *c)
case ET_ENEMY: case ET_ENEMY:
case ET_BOSS: case ET_BOSS:
case ET_DESTRUCTABLE:
c->r = 255; c->r = 255;
break; break;
@ -388,10 +389,6 @@ static void getBlipColor(Entity *e, SDL_Color *c)
c->b = 255; c->b = 255;
break; break;
case ET_DESTRUCTABLE:
c->r = c->b = 255;
break;
default: default:
break; break;
} }