From: Nils Dagsson Moskopp Date: Thu, 21 Jul 2011 13:40:00 +0000 (+0200) Subject: * different collision box for fireflies so they now hover above the ground X-Git-Tag: 0.2.20110731_3~50^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cbf2ac5e8f3b4043b1eaeca0a3260b2c90b85be6;p=oweals%2Fminetest.git * different collision box for fireflies so they now hover above the ground --- diff --git a/src/content_sao.cpp b/src/content_sao.cpp index aeeafc2f8..0b81855c1 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -809,7 +809,7 @@ void FireflySAO::step(float dtime, bool send_recommended) Move it, with collision detection */ - core::aabbox3d box(-BS/3.,0.0,-BS/3., BS/3.,BS*2./3.,BS/3.); + core::aabbox3d box(-BS/3.,-BS*2/3.0,-BS/3., BS/3.,BS*4./3.,BS/3.); collisionMoveResult moveresult; // Maximum movement without glitches f32 pos_max_d = BS*0.25;