mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 02:17:40 +00:00
gmatrix now uses shiftmatrix_or_null which has an additional field if data is not yet computed -- this seems to fix some bugs in the new compilations of HyperRogue
This commit is contained in:
@@ -36,7 +36,7 @@ struct display_data {
|
||||
/** The view relative to the player character. */
|
||||
shiftmatrix player_matrix;
|
||||
/** On-screen coordinates for all the visible cells. */
|
||||
map<cell*, shiftmatrix> cellmatrices, old_cellmatrices;
|
||||
map<cell*, shiftmatrix_or_null> cellmatrices, old_cellmatrices;
|
||||
/** Position of the current map view, relative to the screen (0 to 1). */
|
||||
ld xmin, ymin, xmax, ymax;
|
||||
/** Position of the current map view, in pixels. */
|
||||
|
||||
Reference in New Issue
Block a user