]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/Main.qc
add a missing file
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / Main.qc
index 7d218cb6540ee0621e99aae09e8fe2371d61571c..3c42098e98747a1abec7789fe0c033eda21b7296 100644 (file)
@@ -1025,6 +1025,9 @@ void Ent_Init()
        hook_shotorigin_x = ReadCoord();
        hook_shotorigin_y = ReadCoord();
        hook_shotorigin_z = ReadCoord();
+       electro_shotorigin_x = ReadCoord();
+       electro_shotorigin_y = ReadCoord();
+       electro_shotorigin_z = ReadCoord();
 
        if(forcefog)
                strunzone(forcefog);
@@ -1224,13 +1227,13 @@ void Net_ReadPingPLReport()
 
 void Net_VoteDialog(float highlight) {
        if(highlight) {
-               vote_highlighted = ReadShort();
+               vote_highlighted = ReadByte();
                return;
        }
 
-       vote_yescount = ReadShort();
-       vote_nocount = ReadShort();
-       vote_needed = ReadShort();
+       vote_yescount = ReadByte();
+       vote_nocount = ReadByte();
+       vote_needed = ReadByte();
        vote_active = 1;
 }
 
@@ -1290,7 +1293,7 @@ float CSQC_Parse_TempEntity()
                        Net_ReadRace();
                        bHandled = true;
                        break;
-               case 13: // TE_BEAM
+               case TE_CSQC_BEAM:
                        Net_GrapplingHook();
                        bHandled = true;
                        break;