# Czech translations for SuperTux package
-# Copyright (C) 2005 Ondrej Hosek <ondra.hosek@gmail.com>
+# Copyright (C) 2006 Ondrej Hosek <ondra.hosek@gmail.com>
# This file is distributed under the same license as the SuperTux package.
#
msgid ""
#: src/title.cpp:346
msgid ""
-"Copyright (c) 2005 SuperTux Devel Team\n"
+"Copyright (c) 2006 SuperTux Devel Team\n"
"This game comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to\n"
"redistribute it under certain conditions; see the file COPYING for details.\n"
msgstr ""
-"Copyright (c) 2005 Tým vývojářů SuperTuxu\n"
+"Copyright (c) 2006 Tým vývojářů SuperTuxu\n"
"Tato hra přichází BEZ JAKÉKOLIV ZÁRUKY. Tento program je volný software, smíš jej\n"
"distribuovat dle pokynů v souboru COPYING.\n"
#include "lisp/writer.hpp"
#include "resources.hpp"
#include "main.hpp"
+#include "object/camera.hpp"
ParticleSystem::ParticleSystem()
{
for(i = particles.begin(); i != particles.end(); ++i) {
SnowParticle* particle = (SnowParticle*) *i;
particle->pos.y += particle->speed * elapsed_time;
- if(particle->pos.y > SCREEN_HEIGHT) {
+ if(particle->pos.y > SCREEN_HEIGHT + Sector::current()->camera->get_translation().y) {
particle->pos.y = fmodf(particle->pos.y , virtual_height);
particle->pos.x = rand() % int(virtual_width);
}