1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 01:47:39 +00:00

product:: HUD items displayed correctly

This commit is contained in:
Zeno Rogue
2019-08-19 09:39:19 +02:00
parent 3e1fc42dc5
commit e5fb06e6cd
7 changed files with 14 additions and 8 deletions

View File

@@ -505,8 +505,8 @@ void glapplymatrix(const transmatrix& V) {
glhr::set_modelview(glhr::as_glmatrix(mat));
return;
}
if(GDIM == 3) {
if(MDIM == 4) {
for(int y=0; y<4; y++)
for(int x=0; x<4; x++) mat[id++] = V[x][y];
}