diff --git a/config/survival.cfg b/config/survival.cfg index c0d8e97e..937592f9 100644 --- a/config/survival.cfg +++ b/config/survival.cfg @@ -51,10 +51,10 @@ survOfcZones = [ ac_depot 137.10 166.90 205.10 262.90 ac_desert 89.10 102.90 129.10 174.90 ac_desert2 65.10 98.90 149.10 190.90 - ac_desert3 67.10 94.90 145.10 184.90 + ac_desert3 25.10 62.90 97.10 134.90 ac_douze 137.10 186.90 121.10 150.90 ac_edifice 33.10 80.90 82.10 120.90 - ac_elevation 66.10 93.90 92.90 121.90 + ac_elevation 61.10 102.90 66.10 121.90 ac_gothic 47.10 83.90 41.10 83.90 ac_iceroad 325.10 374.90 244.10 274.90 ac_industrial 319.10 357.90 180.10 244.90 diff --git a/source/src/physics.cpp b/source/src/physics.cpp index 2f4abe8a..ef7b2bac 100644 --- a/source/src/physics.cpp +++ b/source/src/physics.cpp @@ -326,7 +326,7 @@ void moveplayer(physent *pl, int moveres, bool local, int curtime) bool water = false; const bool editfly = pl->state==CS_EDITING; const bool specfly = pl->type==ENT_PLAYER && ((playerent *)pl)->spectatemode==SM_FLY; - const bool isfly = pl->state==CS_EDITING || pl->type==ENT_PLAYER && ((playerent *)pl)->spectatemode==SM_FLY; + const bool isfly = editfly || specfly; vec d; // vector of direction we ideally want to move in