X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Ftuba.qc;h=b95dd99e324773ab5f437e5ddcc7a5fe446aae48;hp=b9f372db9d9e128d64ecdfda23a2fc336aad33b3;hb=86c9dc7c3696c329496b06375c1e79fb407401ce;hpb=b09b7687da385e1cdc51e2f63fb7de4c9f9e12a3 diff --git a/qcsrc/client/tuba.qc b/qcsrc/client/tuba.qc index b9f372db9d..b95dd99e32 100644 --- a/qcsrc/client/tuba.qc +++ b/qcsrc/client/tuba.qc @@ -4,9 +4,8 @@ #include "../common/constants.qh" #include "../common/util.qh" -#include "../warpzonelib/mathlib.qh" -#define TUBA_STARTNOTE(i, n) strcat("weapons/tuba", (i ? ftos(i) : ""), "_loopnote", ftos(n), ".wav") +#define TUBA_STARTNOTE(i, n) W_Sound(strcat("tuba", (i ? ftos(i) : ""), "_loopnote", ftos(n))) const int TUBA_MIN = -18; const int TUBA_MAX = 27; @@ -164,7 +163,7 @@ void Tuba_Precache() Tuba_PitchStep = autocvar_g_balance_tuba_pitchstep; if (Tuba_PitchStep) { if (!checkextension("DP_SND_SOUND7_WIP2") && !checkextension("DP_SND_SOUND7")) { - print("^1NOTE:^7 requested pitch shifting, but not supported by this engine build\n"); + LOG_INFO("^1NOTE:^7 requested pitch shifting, but not supported by this engine build\n"); Tuba_PitchStep = 0; } }