summaryrefslogtreecommitdiffstats
path: root/src/control/GameLogic.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-08 01:41:40 +0100
committeraap <aap@papnet.eu>2021-01-08 01:41:40 +0100
commitebdf08a5144fa98fd5a0700c4865d7c6673d947e (patch)
treea239d268f61711c158583f9bc515f012b4c3fb8e /src/control/GameLogic.cpp
parentAdd support of PS2 audio streams to OpenAL (diff)
downloadre3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.gz
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.bz2
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.lz
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.xz
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.tar.zst
re3-ebdf08a5144fa98fd5a0700c4865d7c6673d947e.zip
Diffstat (limited to '')
-rw-r--r--src/control/GameLogic.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/control/GameLogic.cpp b/src/control/GameLogic.cpp
index e7f7d525..2eea9645 100644
--- a/src/control/GameLogic.cpp
+++ b/src/control/GameLogic.cpp
@@ -420,7 +420,7 @@ CGameLogic::SetUpShortCut(CVector vStartPos, float fStartAngle, CVector vEndPos,
ShortCutStartOrientation = fStartAngle;
ShortCutDestination = vEndPos;
ShortCutDestinationOrientation = fEndAngle;
- CStreaming::RequestModel(MI_KAUFMAN, 0);
+ CStreaming::RequestModel(MI_CABBIE, 0);
}
void
@@ -452,11 +452,11 @@ CGameLogic::UpdateShortCut()
{
switch (ShortCutState) {
case SHORTCUT_INIT:
- if (!CStreaming::HasModelLoaded(MI_KAUFMAN)) {
- CStreaming::RequestModel(MI_KAUFMAN, 0);
+ if (!CStreaming::HasModelLoaded(MI_CABBIE)) {
+ CStreaming::RequestModel(MI_CABBIE, 0);
return;
}
- pShortCutTaxi = new CAutomobile(MI_KAUFMAN, RANDOM_VEHICLE);
+ pShortCutTaxi = new CAutomobile(MI_CABBIE, RANDOM_VEHICLE);
if (!pShortCutTaxi)
return;
pShortCutTaxi->SetPosition(ShortCutStart);