summaryrefslogtreecommitdiffstats
path: root/src/peds/CivilianPed.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-02-16 03:15:58 +0100
committereray orçunus <erayorcunus@gmail.com>2020-02-17 13:57:50 +0100
commitff92b822b673e77c9fa9af6ecbab5745a6ff01d8 (patch)
tree757d2859d10e97cd59474decd744405ba7af37fd /src/peds/CivilianPed.cpp
parentMerge pull request #326 from erorcun/erorcun (diff)
downloadre3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.gz
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.bz2
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.lz
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.xz
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.tar.zst
re3-ff92b822b673e77c9fa9af6ecbab5745a6ff01d8.zip
Diffstat (limited to '')
-rw-r--r--src/peds/CivilianPed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/CivilianPed.cpp b/src/peds/CivilianPed.cpp
index 9eeeeccd..e0950688 100644
--- a/src/peds/CivilianPed.cpp
+++ b/src/peds/CivilianPed.cpp
@@ -8,7 +8,7 @@
#include "Vehicle.h"
#include "SurfaceTable.h"
-CCivilianPed::CCivilianPed(int pedtype, int mi) : CPed(pedtype)
+CCivilianPed::CCivilianPed(ePedType pedtype, uint32 mi) : CPed(pedtype)
{
SetModelIndex(mi);
for (int i = 0; i < ARRAY_SIZE(m_nearPeds); i++) {
@@ -380,7 +380,7 @@ CCivilianPed::ProcessControl(void)
class CCivilianPed_ : public CCivilianPed
{
public:
- CCivilianPed *ctor(int pedtype, int mi) { return ::new (this) CCivilianPed(pedtype, mi); };
+ CCivilianPed *ctor(ePedType pedtype, uint32 mi) { return ::new (this) CCivilianPed(pedtype, mi); };
void dtor(void) { CCivilianPed::~CCivilianPed(); }
void ProcessControl_(void) { CCivilianPed::ProcessControl(); }
};