projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9899491
)
Reset player's alpha to default_player_alpha instead of 1 when exiting a vehicle...
author
Mario <mario.mario@y7mail.com>
Thu, 23 Jan 2020 20:54:13 +0000
(06:54 +1000)
committer
Mario <mario.mario@y7mail.com>
Thu, 23 Jan 2020 20:54:13 +0000
(06:54 +1000)
qcsrc/common/vehicles/sv_vehicles.qc
patch
|
blob
|
history
diff --git
a/qcsrc/common/vehicles/sv_vehicles.qc
b/qcsrc/common/vehicles/sv_vehicles.qc
index 111c7e795629a5b373916fc30f7f034303b628e2..3ec02901dc14c06435cc35f4d5b738ad940f7add 100644
(file)
--- a/
qcsrc/common/vehicles/sv_vehicles.qc
+++ b/
qcsrc/common/vehicles/sv_vehicles.qc
@@
-852,7
+852,7
@@
void vehicles_exit(entity vehic, bool eject)
set_movetype(player, MOVETYPE_WALK);
player.effects &= ~EF_NODRAW;
player.teleportable = TELEPORT_NORMAL;
- player.alpha =
1
;
+ player.alpha =
default_player_alpha
;
player.PlayerPhysplug = func_null;
player.vehicle = NULL;
player.view_ofs = STAT(PL_VIEW_OFS, player);