summaryrefslogtreecommitdiffstats
path: root/src/peds/PlayerPed.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-09 18:50:35 +0200
committeraap <aap@papnet.eu>2019-07-09 18:50:35 +0200
commita65dd41da736a12866526abc1405cbaa154771a8 (patch)
tree387f8103d69d373341e67a6373f681a454aa06db /src/peds/PlayerPed.cpp
parentmore CAutomobile (diff)
downloadre3-a65dd41da736a12866526abc1405cbaa154771a8.tar
re3-a65dd41da736a12866526abc1405cbaa154771a8.tar.gz
re3-a65dd41da736a12866526abc1405cbaa154771a8.tar.bz2
re3-a65dd41da736a12866526abc1405cbaa154771a8.tar.lz
re3-a65dd41da736a12866526abc1405cbaa154771a8.tar.xz
re3-a65dd41da736a12866526abc1405cbaa154771a8.tar.zst
re3-a65dd41da736a12866526abc1405cbaa154771a8.zip
Diffstat (limited to 'src/peds/PlayerPed.cpp')
-rw-r--r--src/peds/PlayerPed.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/peds/PlayerPed.cpp b/src/peds/PlayerPed.cpp
index 07cb5541..43206e08 100644
--- a/src/peds/PlayerPed.cpp
+++ b/src/peds/PlayerPed.cpp
@@ -21,6 +21,19 @@ void CPlayerPed::ClearWeaponTarget()
ClearPointGunAt();
}
+void
+CPlayerPed::SetWantedLevel(int32 level)
+{
+ m_pWanted->SetWantedLevel(level);
+}
+
+void
+CPlayerPed::SetWantedLevelNoDrop(int32 level)
+{
+ m_pWanted->SetWantedLevelNoDrop(level);
+}
+
+
class CPlayerPed_ : public CPlayerPed
{
public: