X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fw_tuba.qc;h=c89735e55930fc81a8f8bc752890c5bd1fa1f73d;hb=b9bf009c922e99a114516a129298e7d6df66f535;hp=f3b91649159d9aef03eda4e9685cd140f036d184;hpb=a598006dd0a4de3772e7f3a9dc791576c957bc0e;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/w_tuba.qc b/qcsrc/server/w_tuba.qc index f3b916491..c89735e55 100644 --- a/qcsrc/server/w_tuba.qc +++ b/qcsrc/server/w_tuba.qc @@ -241,14 +241,6 @@ float w_tuba(float req) return TRUE; // TODO use fuel? else if (req == WR_CHECKAMMO2) return TRUE; // TODO use fuel? - else if (req == WR_SUICIDEMESSAGE) - { - w_deathtypestring = "hurt his own ears with the @!#%'n Tuba"; - } - else if (req == WR_KILLMESSAGE) - { - w_deathtypestring = "died of #'s great playing on the @!#%'n Tuba"; - } return TRUE; }; #endif @@ -263,6 +255,14 @@ float w_tuba(float req) { // nothing to do } + else if (req == WR_SUICIDEMESSAGE) + { + w_deathtypestring = "%s hurt his own ears with the @!#%%'n Tuba"; + } + else if (req == WR_KILLMESSAGE) + { + w_deathtypestring = "%s died of %s's great playing on the @!#%%'n Tuba"; + } return TRUE; } #endif