Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -24,7 +24,7 @@ bool BedItem::useOn(shared_ptr<ItemInstance> itemInstance, shared_ptr<Player> pl
|
||||
// place on top of tile
|
||||
y = y + 1;
|
||||
|
||||
BedTile *tile = static_cast<BedTile *>(Tile::bed);
|
||||
BedTile *tile = (BedTile *) Tile::bed;
|
||||
|
||||
int dir = ( Mth::floor(player->yRot * 4 / (360) + 0.5f) ) & 3;
|
||||
int xra = 0;
|
||||
|
||||
Reference in New Issue
Block a user