TTT: Remove unused var and fix a small issue #1228

Merged
merged 2 commits into from Aug 15, 2016

Projects

None yet

3 participants

@markusmarkusz
Contributor

Just removed a useless var and fixed a small issue.

If you die a corpse will be created. (obvious)
If you reconnect, after your death, then the steam avatar wouldn't be shown in the corpse because after reconnecting Player:Alive() is returning a false result.

@robotboy655 robotboy655 added the TTT label Aug 12, 2016
@markusmarkusz
Contributor

Just added:

self:DrawShadow(false)

Because you can see the shadows from the world model (models/weapons/w_crowbar.mdl).

@svdm svdm merged commit e7b5b01 into garrynewman:master Aug 15, 2016
@markusmarkusz markusmarkusz deleted the unknown repository branch Sep 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment