Implemented OnPlayerRightClickingEntity() hook
Fixes FS 425
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include "Plugin.h"
|
||||
// #include "Pawn.h"
|
||||
#include "Player.h"
|
||||
#include "World.h"
|
||||
#include "CommandOutput.h"
|
||||
@@ -342,6 +341,17 @@ bool cPlugin::OnPlayerRightClick(cPlayer & a_Player, int a_BlockX, int a_BlockY,
|
||||
|
||||
|
||||
|
||||
bool cPlugin::OnPlayerRightClickingEntity(cPlayer & a_Player, cEntity & a_Entity)
|
||||
{
|
||||
UNUSED(a_Player);
|
||||
UNUSED(a_Entity);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool cPlugin::OnPlayerShooting(cPlayer & a_Player)
|
||||
{
|
||||
UNUSED(a_Player);
|
||||
|
||||
Reference in New Issue
Block a user