From 2b4c23c88b36c8c47b88872e318a5b0e9a40c48a Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 2 Mar 2018 00:29:17 +1000 Subject: [PATCH] Clean up a movetype check in warpzone code --- qcsrc/lib/warpzone/server.qc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/qcsrc/lib/warpzone/server.qc b/qcsrc/lib/warpzone/server.qc index 8246e106d..ce4535452 100644 --- a/qcsrc/lib/warpzone/server.qc +++ b/qcsrc/lib/warpzone/server.qc @@ -177,11 +177,7 @@ void WarpZone_Touch(entity this, entity toucher) return; // FIXME needs a better check to know what is safe to teleport and what not - if((toucher.move_movetype == MOVETYPE_NONE && toucher.move_movetype == MOVETYPE_NONE) || toucher.move_movetype == MOVETYPE_FOLLOW || toucher.move_movetype == MOVETYPE_FOLLOW || toucher.tag_entity -#ifdef CSQC - || tag_networkentity -#endif - ) + if(toucher.move_movetype == MOVETYPE_NONE || toucher.move_movetype == MOVETYPE_FOLLOW || toucher.tag_entity) return; if(WarpZoneLib_ExactTrigger_Touch(this, toucher)) -- 2.39.2