Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10693 in orxonox.OLD for branches/hud/src/world_entities


Ignore:
Timestamp:
Jun 14, 2007, 1:20:36 PM (18 years ago)
Author:
bknecht
Message:

fixed errors

Location:
branches/hud/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/hud/src/world_entities/player.cc

    r10685 r10693  
    1919
    2020#include "event_handler.h"
    21 #include "fps_player.h"
     21#include "creatures/fps_player.h"
    2222
    2323#include "state.h"
     
    7676    this->playable = playable;
    7777   
    78     if( playable->isA(FpsPlayer::staticClassID()) )
     78    if( playable->isA(FPSPlayer::staticClassID()) )
    7979    {
    80         this->_hud.setMod(Hud::Playmode FirstPerson);
     80        this->_hud.setMode(Hud::FirstPerson);
    8181        this->_hud.setHealthWidget(this->playable->getHealthWidget());
    8282    }
    8383    else
    8484    {
    85         this->_hud.setMode(Hud::Playmode Full3D);
     85        this->_hud.setMode(Hud::Full3D);
    8686        this->_hud.setHealthWidget(this->playable->getHealthWidget());
    8787    }
  • branches/hud/src/world_entities/space_ships/space_ship.cc

    r10618 r10693  
    11351135    this->updateShieldWidget();
    11361136    if (this->hasPlayer())
    1137       State::getPlayer()->hud().setShiledWidget(this->shieldWidget);
     1137      State::getPlayer()->hud().setShieldWidget(this->shieldWidget);
    11381138  }
    11391139}
Note: See TracChangeset for help on using the changeset viewer.