Skip to content

Commit

Permalink
fix surfingVehicleId reading in onPlayerSync handler
Browse files Browse the repository at this point in the history
  • Loading branch information
THE-FYP committed Apr 29, 2017
1 parent de44d6a commit 7841b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samp/events/handlers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ function handler.on_player_sync_reader(bs)
data.specialAction = read.int8(bs)
data.moveSpeed = read.compressedVector(bs)
if has_value(bs) then
data.surfingVehicleId = rend.int16(bs)
data.surfingVehicleId = read.int16(bs)
data.surfingOffsets = read.vector3d(bs)
end
if has_value(bs) then
Expand Down

0 comments on commit 7841b59

Please sign in to comment.