]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Whoops, forgot to make this check use movetype_spectator instead of movetype_fly...
authorSamual <samual@xonotic.org>
Sat, 4 Jun 2011 00:51:53 +0000 (20:51 -0400)
committerSamual <samual@xonotic.org>
Sat, 4 Jun 2011 00:51:53 +0000 (20:51 -0400)
qcsrc/server/cl_client.qc

index a1703b97d571cd6901e7704cf6d0a2d05acc5c11..9326cec68ca0848b80003d2c385418d4868da102 100644 (file)
@@ -2518,7 +2518,7 @@ void ObserverThink()
                                self.classname = "spectator";
                        }
                } else {
-                       prefered_movetype = (self.cvar_cl_clippedspectating ? MOVETYPE_FLY : MOVETYPE_NOCLIP);
+                       prefered_movetype = (self.cvar_cl_clippedspectating ? MOVETYPE_SPECTATOR : MOVETYPE_NOCLIP);
                        if (self.movetype != prefered_movetype)
                                self.movetype = prefered_movetype;
                }