Changeset 8941 in orxonox.OLD for branches/single_player_map/src/world_entities/npcs/repair_station.cc
- Timestamp:
- Jun 30, 2006, 2:55:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/npcs/repair_station.cc
r8931 r8941 120 120 121 121 122 123 124 125 void RepairStation::activate() 126 {} 127 128 void RepairStation::deactivate() 129 {} 130 131 void RepairStation::toggleRotation() 132 {} 133 134 122 135 /** 123 136 * ticks the door … … 129 142 ((InteractiveModel*)this->getModel(0))->tick(time); 130 143 131 if( !this->bOpen)132 {133 if( this->checkOpen())134 {135 this->open();136 }137 }138 else139 {140 if( !this->checkOpen())141 {142 this->close();143 }144 }145 144 146 145 }
Note: See TracChangeset
for help on using the changeset viewer.