aboutsummaryrefslogtreecommitdiff
path: root/src/GameInitDispose.cpp
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-29 21:19:09 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-29 21:19:09 +0700
commit4c7e7136f125ceb5186fdcc0463a6c10990d1111 (patch)
tree1e8d891acaf75f0c3d6dcdc9cc3ce46a2c5257ae /src/GameInitDispose.cpp
parent21a6047ac5fb40b6d28d94e046c4f7f1fc2bbcd6 (diff)
downloadblackshades-4c7e7136f125ceb5186fdcc0463a6c10990d1111.tar.gz
Fix stuck VIP
Bodyguard landing from the sky looks cool as well.
Diffstat (limited to 'src/GameInitDispose.cpp')
-rw-r--r--src/GameInitDispose.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/GameInitDispose.cpp b/src/GameInitDispose.cpp
index 6052b66..50b848e 100644
--- a/src/GameInitDispose.cpp
+++ b/src/GameInitDispose.cpp
@@ -340,9 +340,8 @@ void initGame(Game* game)
vip.pathtarget.z += vip.whichblocky * block_spacing;
vip.oldplayercoords = vip.playercoords = vip.pathtarget;
- bodyguard.playercoords = vip.playercoords;
- bodyguard.playercoords.x += 1;
- bodyguard.playercoords.z += 1;
+ bodyguard.playercoords.x = vip.playercoords.x;
+ bodyguard.playercoords.z = vip.playercoords.z;
bodyguard.oldplayercoords = bodyguard.playercoords;
vip.skeleton.free = 0;