diff --git a/dev/tankefugl/models/b_infportal.mdl b/dev/tankefugl/models/b_infportal.mdl index b1bfd3b..cb97ef0 100644 Binary files a/dev/tankefugl/models/b_infportal.mdl and b/dev/tankefugl/models/b_infportal.mdl differ diff --git a/dev/tankefugl/models/b_infportalt.mdl b/dev/tankefugl/models/b_infportalt.mdl index 4358269..5b0e549 100644 Binary files a/dev/tankefugl/models/b_infportalt.mdl and b/dev/tankefugl/models/b_infportalt.mdl differ diff --git a/dev/tankefugl/source/mod/AvHMarineEquipment.cpp b/dev/tankefugl/source/mod/AvHMarineEquipment.cpp index 4a2696f..bf57c46 100644 --- a/dev/tankefugl/source/mod/AvHMarineEquipment.cpp +++ b/dev/tankefugl/source/mod/AvHMarineEquipment.cpp @@ -1693,6 +1693,7 @@ char* AvHNuke::GetKilledSound() const const float kInfantryPortalThinkTime = 1.0f; +#define kInfantryPortalLightEffect EF_LIGHT AvHInfantryPortal::AvHInfantryPortal() : AvHMarineBaseBuildable(TECH_INFANTRYPORTAL, BUILD_INFANTRYPORTAL, kwsInfantryPortal, AVH_USER3_INFANTRYPORTAL) { @@ -1741,6 +1742,9 @@ void AvHInfantryPortal::SetHasBeenBuilt() SetThink(&AvHInfantryPortal::PortalThink); this->pev->nextthink = gpGlobals->time + kInfantryPortalThinkTime; + this->pev->effects |= kInfantryPortalLightEffect; + //this->pev-> + } void AvHInfantryPortal::Precache() @@ -1813,6 +1817,7 @@ void AvHInfantryPortal::ResetReinforcingPlayer(bool inSuccess) void AvHInfantryPortal::UpdateOnRecycle(void) { this->ResetReinforcingPlayer(false); + this->pev->effects &= ~kInfantryPortalLightEffect; } void AvHInfantryPortal::UpdateOnRemove(void) diff --git a/dev/tankefugl/source/mod/AvHSharedUtil.cpp b/dev/tankefugl/source/mod/AvHSharedUtil.cpp index 8aed0fa..5147e70 100644 --- a/dev/tankefugl/source/mod/AvHSharedUtil.cpp +++ b/dev/tankefugl/source/mod/AvHSharedUtil.cpp @@ -560,7 +560,7 @@ bool AvHSHUGetDrawRingsForUser3(AvHUser3 inUser3, float& outScalar) break; case AVH_USER3_INFANTRYPORTAL: - theScalar = 1.0f; + theScalar = 1.35f; theDrawRings = true; break;