X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftrigger%2Fhatch.cpp;h=945a26737b0c8b1d6551eb1e196a1b8b3705d26b;hb=3e89eb527d5f3bca2cb8cd219784048764a148f5;hp=f2e11a3b2f6714dac5b03b7c3a555f936e31a20c;hpb=6dd8ff98068af6c053733df6bb01ba47c8eb379e;p=supertux.git diff --git a/src/trigger/hatch.cpp b/src/trigger/hatch.cpp index f2e11a3b2..945a26737 100644 --- a/src/trigger/hatch.cpp +++ b/src/trigger/hatch.cpp @@ -1,7 +1,7 @@ // $Id$ // -// SuperTux - A Jump'n Run -// Copyright (C) 2004 Matthias Braun // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -16,6 +16,7 @@ // 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. + #include #include "hatch.hpp" @@ -37,7 +38,7 @@ Hatch::Hatch(const lisp::Lisp& reader) reader.get("sector", target_sector); reader.get("spawnpoint", target_spawnpoint); - sprite = sprite_manager->create("hatch"); + sprite = sprite_manager->create("images/objects/hatch/hatch.sprite"); } Hatch::Hatch(int x, int y, std::string sector, std::string spawnpoint) @@ -47,7 +48,7 @@ Hatch::Hatch(int x, int y, std::string sector, std::string spawnpoint) target_sector = sector; target_spawnpoint = spawnpoint; - sprite = sprite_manager->create("hatch"); + sprite = sprite_manager->create("images/objects/hatch/hatch.sprite"); } Hatch::~Hatch()