fix some server-side collision calls not including object collision
This commit is contained in:
parent
dd3c40adb7
commit
9aaaf874e9
@ -32,6 +32,10 @@ ServerTile::ServerTile(ServerTile const& serverTile) : WorldTile() {
|
|||||||
*this = serverTile;
|
*this = serverTile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ServerTile::isColliding(CollisionSet const& collisionSet) const {
|
||||||
|
return Star::isColliding(getCollision(), collisionSet);
|
||||||
|
}
|
||||||
|
|
||||||
ServerTile& ServerTile::operator=(ServerTile const& serverTile) {
|
ServerTile& ServerTile::operator=(ServerTile const& serverTile) {
|
||||||
WorldTile::operator=(serverTile);
|
WorldTile::operator=(serverTile);
|
||||||
|
|
||||||
|
@ -63,6 +63,8 @@ struct ServerTile : public WorldTile {
|
|||||||
ServerTile(ServerTile const& serverTile);
|
ServerTile(ServerTile const& serverTile);
|
||||||
ServerTile& operator=(ServerTile const& serverTile);
|
ServerTile& operator=(ServerTile const& serverTile);
|
||||||
|
|
||||||
|
bool isColliding(CollisionSet const& collisionSet) const;
|
||||||
|
|
||||||
void write(DataStream& ds) const;
|
void write(DataStream& ds) const;
|
||||||
void read(DataStream& ds, VersionNumber serializationVersion);
|
void read(DataStream& ds, VersionNumber serializationVersion);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user