]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_client.qc
Implement engine framework in the gamecode for changing the pitch of sounds. soundto...
[voretournament/voretournament.git] / data / qcsrc / server / cl_client.qc
index 6f4a06ae1ab43f7be1774f3453abe17d591cb7cf..098f5be609d6570bd6f7aa394d6db271b7021a46 100644 (file)
@@ -1961,7 +1961,7 @@ float CalcRotRegen(float current, float regenstable, float regenfactor, float re
                                {\r
                                        msg_entity = self;\r
                                        if(clienttype(msg_entity) == CLIENTTYPE_REAL)\r
-                                               soundto(MSG_ONE, self, CHAN_AUTO, regensound, VOL_BASE, ATTN_NONE);\r
+                                               soundto(MSG_ONE, self, CHAN_AUTO, regensound, VOL_BASE, ATTN_NONE, 0);\r
                                }\r
                                self.regen_soundtime = time + 1; // only replay the sound if regen was paused for one second\r
                        }\r