File tree Expand file tree Collapse file tree 6 files changed +4
-7
lines changed Expand file tree Collapse file tree 6 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -290,7 +290,6 @@ $Project
290290 $File "c_vehicle_jeep.cpp"
291291 $File "c_vguiscreen.cpp"
292292 $File "hl2\c_waterbullet.cpp"
293- $File "hl2\hud_autoaim.cpp"
294293 $File "C_WaterLODControl.cpp"
295294 $File "c_world.cpp"
296295 $File "$SRCDIR\game\shared\cam_thirdperson.cpp"
Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ $Project "Client (Episodic)"
105105 $File "hl2\hl_in_main.cpp"
106106 $File "hl2\hl_prediction.cpp"
107107 $File "hl2\hud_ammo.cpp"
108+ $File "hl2\hud_autoaim.cpp"
108109 $File "hl2\hud_battery.cpp"
109110 $File "hl2\hud_blood.cpp"
110111 $File "hl2\hud_credits.cpp"
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ $Project "Client (HL2)"
9595 $File "hl2\hl_in_main.cpp"
9696 $File "hl2\hl_prediction.cpp"
9797 $File "hl2\hud_ammo.cpp"
98+ $File "hl2\hud_autoaim.cpp"
9899 $File "hl2\hud_battery.cpp"
99100 $File "hl2\hud_blood.cpp"
100101 $File "hl2\hud_credits.cpp"
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ $Project "Client (HL2MP)"
103103 $File "hl2\hl_in_main.cpp"
104104 $File "hl2\hl_prediction.cpp"
105105 $File "hl2\hud_ammo.cpp"
106+ $File "hl2\hud_autoaim.cpp"
106107 $File "hl2\hud_battery.cpp"
107108 $File "hl2\hud_blood.cpp"
108109 $File "hl2\hud_credits.cpp"
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ $Project "Client (LostCoast)"
9393 $File "hl2\hl_in_main.cpp"
9494 $File "hl2\hl_prediction.cpp"
9595 $File "hl2\hud_ammo.cpp"
96+ $File "hl2\hud_autoaim.cpp"
9697 $File "hl2\hud_battery.cpp"
9798 $File "hl2\hud_blood.cpp"
9899 $File "hl2\hud_credits.cpp"
Original file line number Diff line number Diff line change @@ -176,13 +176,9 @@ void CHUDAutoAim::OnThink()
176176
177177 BaseClass::OnThink ();
178178
179- #ifdef TF_CLIENT_DLL
180- if ( true )
181- #else
182179 // Get the HL2 player
183180 C_BaseHLPlayer *pLocalPlayer = (C_BaseHLPlayer *)C_BasePlayer::GetLocalPlayer ();
184181 if ( pLocalPlayer == NULL )
185- #endif
186182 {
187183 // Just turn the autoaim crosshair off.
188184 ResetPosition ();
@@ -193,7 +189,6 @@ void CHUDAutoAim::OnThink()
193189 return ;
194190 }
195191
196- #ifndef TF_CLIENT_DLL
197192 // Get the autoaim target.
198193 CBaseEntity *pTarget = pLocalPlayer->m_HL2Local .m_hAutoAimTarget .Get ();
199194
@@ -386,7 +381,6 @@ void CHUDAutoAim::OnThink()
386381 }
387382 break ;
388383 }
389- #endif // !TF_CLIENT_DLL
390384}
391385
392386void CHUDAutoAim::Paint ()
You can’t perform that action at this time.
0 commit comments