]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Put the block of code that detects a push into the void before MUTATOR_CALLHOOK(Playe...
authorterencehill <piuntn@gmail.com>
Sun, 25 Nov 2012 19:01:27 +0000 (20:01 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 25 Nov 2012 20:04:57 +0000 (21:04 +0100)
commite82752b8af600bae7299048148eca34fd9cfd057
tree1323c22d7646f8ecbeeccfca40546847d4bb4dbe
parent9dc51058dc784dc07c014c0249ba4bfbaad0f4f5
Put the block of code that detects a push into the void before MUTATOR_CALLHOOK(PlayerDamage_SplitHealthArmor), so that attacker is changed from trigger_hurt to the pusher player before PlayerDamage_SplitHealthArmor call. With this change playing with the vampire mutator, if you push someone into the void you also suck all his remaining health.
qcsrc/server/cl_player.qc
qcsrc/server/mutators/mutator_vampire.qc