]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/qcsrc/server/cl_client.qc
Make the macro earthquake effect work for spectators too
[voretournament/voretournament.git] / data / qcsrc / server / cl_client.qc
index 3b4afbc550cecae97cca0c537d319c4cc66b8e3f..6f4a06ae1ab43f7be1774f3453abe17d591cb7cf 100644 (file)
@@ -2141,6 +2141,9 @@ void SpectateCopy(entity spectatee) {
        setsize(self, spectatee.mins, spectatee.maxs);\r
        SetZoomState(spectatee.zoomstate);\r
 \r
+       // copy necessary flags\r
+       if(spectatee.flags & FL_ONGROUND)       self.flags |= FL_ONGROUND;      else    self.flags &~= FL_ONGROUND;\r
+\r
        anticheat_spectatecopy(spectatee);\r
 }\r
 \r