From 656549d8a3a9faf75d552c7dec0612d3e299fe26 Mon Sep 17 00:00:00 2001 From: Xottab_DUTY Date: Sun, 7 Apr 2019 16:54:35 +0500 Subject: [PATCH] Revert "Random crows spawn position" This reverts commit 09030724b37b7aee1c55daf5cd26c9fa99440c6b. --- cs/engine/xrGame/ai/crow/ai_crow.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cs/engine/xrGame/ai/crow/ai_crow.cpp b/cs/engine/xrGame/ai/crow/ai_crow.cpp index 4e5be7df9..037dad54a 100644 --- a/cs/engine/xrGame/ai/crow/ai_crow.cpp +++ b/cs/engine/xrGame/ai/crow/ai_crow.cpp @@ -151,13 +151,6 @@ BOOL CAI_Crow::net_Spawn (CSE_Abstract* DC) // disable UpdateCL, enable only on HIT processing_deactivate (); VERIFY2( valid_pos( Position() ), dbg_valide_pos_string(Position(),this,"CAI_Crow::net_Spawn") ); - - Fvector tmp = Actor()->Position(); - tmp.x = tmp.x + ::Random.randF(-50.0f, 50.0f); - tmp.y = tmp.y + ::Random.randF(20.0f, 50.0f); - tmp.z = tmp.z + ::Random.randF(-50.0f, 50.0f); - Position().set(tmp); - return R; }