1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-31 18:07:14 +01:00

Forgot to also update the global event for player position with the new parameters.

This commit is contained in:
Sandu Liviu Catalin 2016-07-15 21:20:16 +03:00
parent f46adb50dc
commit efb284d880

View File

@ -713,7 +713,7 @@ void Core::EmitPlayerPosition(Int32 player_id)
{
PlayerInst & _player = m_Players.at(player_id);
Emit(_player.mOnPosition, _player.mTrackPositionHeader, _player.mTrackPositionPayload);
Emit(mOnPlayerPosition, _player.mObj);
Emit(mOnPlayerPosition, _player.mObj, _player.mTrackPositionHeader, _player.mTrackPositionPayload);
}
// ------------------------------------------------------------------------------------------------