GameLogic - fixed some minor merging errors

This commit is contained in:
Dennis Andersen 2014-01-20 16:01:54 +01:00
commit ab2a3a3892
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ template<typename T> int InsertObject(DynamicArray<T*>& list, T* obj)
list[i] = obj; list[i] = obj;
return i; return i;
} }
} }
list.Push(obj); list.Push(obj);
return list.Size() - 1; return list.Size() - 1;
} }

View File

@ -20,9 +20,9 @@ void Game::PlayerData::Move(const PLAYER_MOVEMENT &movement)
{ {
this->player->Move(movement); this->player->Move(movement);
} }
void Game::PlayerData::UseWeapon(int playerID, const WEAPON_FIRE &usage) void Game::PlayerData::UseWeapon(const WEAPON_FIRE &usage)
{ {
this->player->UseWeapon(usage);
} }
Oyster::Math::Float3 Game::PlayerData::GetPosition() Oyster::Math::Float3 Game::PlayerData::GetPosition()
{ {