X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Frainsplash.cpp;h=b4241f6aecb7949afd2e38f25c50c5f78f27e8d4;hb=113cdbf07f441329690714a53a436503ab1d4b35;hp=2bd2cc9ab13faaa4fc0031f2c6b477b2e0b0d198;hpb=5b7f9214cb929399f1a855ef5807018a9447d510;p=supertux.git diff --git a/src/object/rainsplash.cpp b/src/object/rainsplash.cpp index 2bd2cc9ab..b4241f6ae 100644 --- a/src/object/rainsplash.cpp +++ b/src/object/rainsplash.cpp @@ -1,4 +1,7 @@ +// $Id$ +// // SuperTux +// Copyright (C) 2006 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -9,11 +12,11 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. -// +// // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -// 02111-1307, USA. +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #include "rainsplash.hpp" #include "sector.hpp" @@ -21,8 +24,8 @@ RainSplash::RainSplash(Vector pos, bool vertical) { frame = 0; position = pos; - if (vertical) sprite = sprite_manager->create("rainsplash-vertical"); - else sprite = sprite_manager->create("rainsplash"); + if (vertical) sprite = sprite_manager->create("images/objects/particles/rainsplash-vertical.sprite"); + else sprite = sprite_manager->create("images/objects/particles/rainsplash.sprite"); } RainSplash::~RainSplash() {