X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fsv_main.qc;h=18ea24d9498327546a90c07eb83f3ca182cc4f2d;hb=bcadfbac06557383ee6d266bb92331d6fb1e9599;hp=6f916a2f553958aefd157c11a3ccafdf2be3d5dd;hpb=153e558088db2813f7f7dd5367244b5470f4d425;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/sv_main.qc b/qcsrc/server/sv_main.qc index 6f916a2f5..18ea24d94 100644 --- a/qcsrc/server/sv_main.qc +++ b/qcsrc/server/sv_main.qc @@ -17,7 +17,7 @@ #include "../common/mapinfo.qh" #include "../common/util.qh" -#include "../common/vehicles/sv_vehicles.qh" +#include "../common/vehicles/all.qh" #include "../common/weapons/all.qh" #include "../csqcmodellib/sv_model.qh" @@ -37,9 +37,9 @@ void CreatureFrame (void) { if (self.movetype == MOVETYPE_NOCLIP) { continue; } - float vehic = (self.vehicle_flags & VHF_ISVEHICLE); + float vehic = IS_VEHICLE(self); float projectile = (self.flags & FL_PROJECTILE); - float monster = (self.flags & FL_MONSTER); + float monster = IS_MONSTER(self); if (self.watertype <= CONTENT_WATER && self.waterlevel > 0) // workaround a retarded bug made by id software :P (yes, it's that old of a bug) {