gmod_game: CalcViewModelView hook (on SWEPS and GAMEMODE)

Revision 588
CalcViewModelView hook (on SWEPS and GAMEMODE)Changed Files:
[ul]
[li]trunk/bin/client.dll[/li][li]trunk/bin/server.dll[/li][li]trunk/gamemodes/base/gamemode/cl_init.lua[/li][/ul]
Committed By Garry Newman

:awesome:

Just wondering, why did you add this function when you can already return ‘vm_origin’ and vm_angles’ in the CalcView hook? And there was also something called SWEP:GetViewModelPosition().

Because this supports multiple view models

Oh ofcourse, awesome.