From: Ricardo Cruz Date: Wed, 28 Jul 2004 10:48:49 +0000 (+0000) Subject: Tux growing animation and door opening alpha was not being applied. Fixed. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=537e02ddc385e0ace2a8641847880ea5d328f604;p=supertux.git Tux growing animation and door opening alpha was not being applied. Fixed. Why haven't anyone noticed it yet?! SVN-Revision: 1650 --- diff --git a/src/resources.cpp b/src/resources.cpp index d139568e7..427a95017 100644 --- a/src/resources.cpp +++ b/src/resources.cpp @@ -125,10 +125,10 @@ void loadshared() for (int i = 0; i < GROWING_FRAMES; i++) { sprintf(img_name, "%s/images/shared/tux-grow-left-%i.png", datadir.c_str(), i+1); - growingtux_left[i] = new Surface(img_name, false); + growingtux_left[i] = new Surface(img_name, true); sprintf(img_name, "%s/images/shared/tux-grow-right-%i.png", datadir.c_str(), i+1); - growingtux_right[i] = new Surface(img_name, false); + growingtux_right[i] = new Surface(img_name, true); } smalltux.stand_left = sprite_manager->load("smalltux-stand-left"); @@ -264,7 +264,7 @@ void loadshared() for (int i = 0; i < DOOR_OPENING_FRAMES; i++) { sprintf(img_name, "%s/images/shared/door-%i.png", datadir.c_str(), i+1); - door_opening[i] = new Surface(img_name, false); + door_opening[i] = new Surface(img_name, true); } /* Distros: */