Changeset 10486 in orxonox.OLD for branches/playability/src/world_entities/weapons/acid_launcher.cc
- Timestamp:
- Jan 29, 2007, 6:51:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/acid_launcher.cc
r10419 r10486 32 32 33 33 #include "util/loading/factory.h" 34 35 #include "elements/glgui_energywidgetvertical.h" 34 36 35 37 … … 122 124 void AcidLauncher::tick(float dt) 123 125 { 126 if (this->energyWidget != NULL && !this->isEnergyWidgetInitialized) 127 { 128 this->energyWidget->setDisplayedImage("textures/gui/gui_acid.png"); 129 this->isEnergyWidgetInitialized = true; 130 } 131 124 132 if (!Weapon::tickW(dt)) 125 133 return;
Note: See TracChangeset
for help on using the changeset viewer.