Updated CalcView to allow CalcVehicleView to be hooked #827

Merged
merged 1 commit into from Mar 26, 2015

Projects

None yet

2 participants

@Acecool
Contributor
Acecool commented Oct 3, 2014

Changed

GAMEMODE:CalcVehicleView( Vehicle, ply, view )

to

hook.Call( "CalcVehicleView", GAMEMODE, Vehicle, ply, view )

So that hook.Add CalcVehicleView will be executed.

@Acecool Acecool Updated CalcView to allow CalcVehicleView to be hooked
Changed
```lua
GAMEMODE:CalcVehicleView( Vehicle, ply, view )
```

to
```lua
hook.Call( "CalcVehicleView", GAMEMODE, Vehicle, ply, view )
```

So that hook.Add CalcVehicleView will be executed.
f114286
@robotboy655 robotboy655 added the pending label Oct 27, 2014
@TheFreeman193 TheFreeman193 referenced this pull request Feb 24, 2015
Merged

GM hook calls #878

@robotboy655 robotboy655 merged commit 7fdd1f5 into garrynewman:master Mar 26, 2015
@Acecool Acecool deleted the unknown repository branch Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment