Skip to content

Commit

Permalink
Restore comment messup
Browse files Browse the repository at this point in the history
  • Loading branch information
ashdnazg committed Jun 23, 2015
1 parent e4bfdbd commit 671d285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Rendering/UnitDrawer.cpp
Expand Up @@ -1944,6 +1944,7 @@ void CUnitDrawer::RenderUnitDestroyed(const CUnit* unit) {
!(u->losStatus[gu->myAllyTeam] & (LOS_INLOS | LOS_CONTRADAR)) &&
(u->losStatus[gu->myAllyTeam] & (LOS_PREVLOS)) && !gu->spectatingFullView
) {
// FIXME -- adjust decals for decoys? gets weird?
const UnitDef* decoyDef = u->unitDef->decoyDef;
S3DModel* gbModel = (decoyDef == NULL) ? u->model : decoyDef->LoadModel();

Expand Down Expand Up @@ -1995,7 +1996,6 @@ void CUnitDrawer::RenderUnitCloakChanged(const CUnit* unit, int cloaked) {

void CUnitDrawer::RenderUnitLOSChanged(const CUnit* unit, int allyTeam, int newStatus) {
CUnit* u = const_cast<CUnit*>(unit);
//LOG_L(L_WARNING, "unit LOS change %p %d %d", unit, allyTeam, newStatus);
if (newStatus & LOS_INLOS) {
if (allyTeam == gu->myAllyTeam) {
if (gameSetup->ghostedBuildings && unit->unitDef->IsImmobileUnit()) {
Expand Down

0 comments on commit 671d285

Please sign in to comment.