X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmapvoting.qc;h=5a9f7e0765c85e5a66e6d4ada2da8048b02fd597;hb=db5f83fa5f9c4611f5c15def90d1326584707031;hp=d453606d3946419c660cd4693d98730010b3f874;hpb=86c9dc7c3696c329496b06375c1e79fb407401ce;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mapvoting.qc b/qcsrc/server/mapvoting.qc index d453606d3..5a9f7e076 100644 --- a/qcsrc/server/mapvoting.qc +++ b/qcsrc/server/mapvoting.qc @@ -1,5 +1,4 @@ #include "mapvoting.qh" -#include "_all.qh" #include "g_world.qh" #include "command/cmd.qh" @@ -123,7 +122,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 +262,7 @@ void MapVote_Init() } void MapVote_SendPicture(float id) -{ +{SELFPARAM(); msg_entity = self; WriteByte(MSG_ONE, SVC_TEMPENTITY); WriteByte(MSG_ONE, TE_CSQC_PICTURE); @@ -343,7 +342,7 @@ void GameTypeVote_SendOption(int i) } } -float MapVote_SendEntity(entity to, int sf) +bool MapVote_SendEntity(entity this, entity to, int sf) { float i;