1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

constexpr int PMAX

This commit is contained in:
Zeno Rogue 2018-09-01 14:31:13 +02:00
parent 3895dcbd39
commit a4cf130b78

View File

@ -1127,7 +1127,7 @@ void drawqueue() {
#else #else
int PMAX = int(PPR::MAX); constexpr int PMAX = int(PPR::MAX);
int qp[PMAX], qp0[PMAX]; int qp[PMAX], qp0[PMAX];
for(int a=0; a<PMAX; a++) qp[a] = 0; for(int a=0; a<PMAX; a++) qp[a] = 0;