Merge branch 'GameClient' of https://github.com/dean11/Danbias into GameClient

This commit is contained in:
lindaandersson 2014-02-20 10:13:08 +01:00
commit 9082666eba
1 changed files with 2 additions and 1 deletions

View File

@ -79,9 +79,10 @@ GameClientState::ClientState MainState::Update( float deltaTime )
{
bool test = this->privData->input->IsMousePressed();
if(test)
{
{ // HACK: debug trap still in use?
int i = 0;
};
this->privData->input->GetMousePos( mouseState.x, mouseState.y );
mouseState.mouseButtonPressed = this->privData->input->IsMousePressed();
}