Skip to content
Permalink
Browse files

Fix #1358 (disappearing clouds)

  • Loading branch information...
Ekdohibs committed Jun 9, 2014
1 parent 282f53d commit e17d29ccd608a654c3038bf35f5ca710e5ef0db8
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/clouds.h
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,

#include "irrlichttypes_extrabloated.h"
#include <iostream>
#include "constants.h"

class Clouds : public scene::ISceneNode
{
@@ -70,6 +71,8 @@ class Clouds : public scene::ISceneNode
void updateCameraOffset(v3s16 camera_offset)
{
m_camera_offset = camera_offset;
m_box = core::aabbox3d<f32>(-BS * 1000000, m_cloud_y - BS - BS * camera_offset.Y, -BS * 1000000,
BS * 1000000, m_cloud_y + BS - BS * camera_offset.Y, BS * 1000000);
}

private:

0 comments on commit e17d29c

Please sign in to comment.
You can’t perform that action at this time.