X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2FMain.qc;h=6d90e1080363324f89edd644f2f4d20ad1c1ebee;hp=95a01ab0e767501ac9b257ff2b266536dbe893cf;hb=44effb3a66f8b44d05106ff361ef5fc126fef03b;hpb=4eb8ac8989271d4b19f6ed823133c69933c7e21a diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 95a01ab0e7..6d90e10803 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -1328,6 +1328,17 @@ void Net_Notify() { { HUD_Centerprint(ReadString(), ReadString(), ReadShort(), ReadByte()); } + else if(type == CSQC_CENTERPRINT_GENERIC) + { + float id; + string s; + id = ReadByte(); + s = ReadString(); + if (id != 0 && s != "") + centerprint_generic(id, s, ReadByte(), ReadByte()); + else + centerprint_generic(id, s, 0, 0); + } } void Net_WeaponComplain() {