diff options
author | Stijn Buys <ingar@osirion.org> | 2009-03-07 13:57:09 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-03-07 13:57:09 +0000 |
commit | 4c53365c16362156529c7669079e31845384589f (patch) | |
tree | 193bb5d05299d2acb38311d108c1d39b6e1dd229 /src/game/base/shipdealer.cc | |
parent | ee2200638be3fcb14097f3e8b0abb93e210f93d9 (diff) |
renamed Entity::eventstate() to Entity::state(),
introduced Destroyed state
Diffstat (limited to 'src/game/base/shipdealer.cc')
-rw-r--r-- | src/game/base/shipdealer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/shipdealer.cc b/src/game/base/shipdealer.cc index 5aced0b..e28b922 100644 --- a/src/game/base/shipdealer.cc +++ b/src/game/base/shipdealer.cc @@ -133,7 +133,7 @@ void ShipDealer::func_buy(core::Player *player, const std::string &args) if (dock) { ship->set_zone(dock->zone()); ship->location().assign(dock->location()); - ship->set_eventstate(core::Entity::Docked); + ship->set_state(core::Entity::Docked); ship->entity_axis.assign(dock->axis()); ship->entity_axis.change_direction(180.0f); player->set_control(ship); |