X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2FMain.qc;h=7f6b9ea238a18f22db08529b738e6fb7ace80da5;hp=3c42098e98747a1abec7789fe0c033eda21b7296;hb=d5276c31c0843c85c0e517e786194930ec369cd7;hpb=028770a2d80a20b9fd35ee65dfbc016635c6170a diff --git a/qcsrc/client/Main.qc b/qcsrc/client/Main.qc index 3c42098e98..7f6b9ea238 100644 --- a/qcsrc/client/Main.qc +++ b/qcsrc/client/Main.qc @@ -1022,12 +1022,14 @@ void Ent_Init() nb_pb_period = ReadByte() / 32; //Accuracy of 1/32th - hook_shotorigin_x = ReadCoord(); - hook_shotorigin_y = ReadCoord(); - hook_shotorigin_z = ReadCoord(); - electro_shotorigin_x = ReadCoord(); - electro_shotorigin_y = ReadCoord(); - electro_shotorigin_z = ReadCoord(); + hook_shotorigin[0] = decompressShotOrigin(ReadInt24_t()); + hook_shotorigin[1] = decompressShotOrigin(ReadInt24_t()); + hook_shotorigin[2] = decompressShotOrigin(ReadInt24_t()); + hook_shotorigin[3] = decompressShotOrigin(ReadInt24_t()); + electro_shotorigin[0] = decompressShotOrigin(ReadInt24_t()); + electro_shotorigin[1] = decompressShotOrigin(ReadInt24_t()); + electro_shotorigin[2] = decompressShotOrigin(ReadInt24_t()); + electro_shotorigin[3] = decompressShotOrigin(ReadInt24_t()); if(forcefog) strunzone(forcefog);