Skip to content

Commit 94814b4

Browse files
committed
fix ndef clientdll
1 parent 1640915 commit 94814b4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/game/shared/swarm/asw_weapon_welder_shared.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,17 +167,19 @@ void CASW_Weapon_Welder::WeldDoor(bool bSeal)
167167
{
168168
if ( pDoor->IsOpen() )
169169
{
170-
#ifndef CLIENT_DLL
171170
if ( bSeal )
172171
{
172+
#ifndef CLIENT_DLL
173173
pDoor->CloseForWeld( pMarine ); // shut the door first, so we can start welding it
174+
#endif
174175
}
175176
else
176177
{
178+
#ifndef CLIENT_DLL
177179
pDoor->StopCloseForWeld( pMarine );
180+
#endif
178181
bWelding = false;
179182
}
180-
#endif
181183
}
182184
else
183185
{

0 commit comments

Comments
 (0)