X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmapvoting.qc;h=8e7deae8fe94c09023baa3181c93ac96ff540c15;hb=5b22584122d4354ab7819853d0fa5219d14d832e;hp=952ce5bd0595ff40273229587503bf58403717a3;hpb=777dc5e23d7512c3e33576884d8d200f244d3006;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mapvoting.qc b/qcsrc/server/mapvoting.qc index 952ce5bd0..8e7deae8f 100644 --- a/qcsrc/server/mapvoting.qc +++ b/qcsrc/server/mapvoting.qc @@ -123,7 +123,7 @@ void MapVote_UnzoneStrings() } string MapVote_Suggest(string m) -{ +{SELFPARAM(); float i; if(m == "") return "That's not how to use this command."; @@ -263,7 +263,7 @@ void MapVote_Init() } void MapVote_SendPicture(float id) -{ +{SELFPARAM(); msg_entity = self; WriteByte(MSG_ONE, SVC_TEMPENTITY); WriteByte(MSG_ONE, TE_CSQC_PICTURE); @@ -748,7 +748,7 @@ float GameTypeVote_Finished(float pos) if ( !GameTypeVote_SetGametype(GameTypeVote_Type_FromString(mapvote_maps[pos])) ) { - dprint("Selected gametype is not supported by any map"); + LOG_TRACE("Selected gametype is not supported by any map"); } localcmd("sv_vote_gametype_hook_all\n");