1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +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
int PMAX = int(PPR::MAX);
constexpr int PMAX = int(PPR::MAX);
int qp[PMAX], qp0[PMAX];
for(int a=0; a<PMAX; a++) qp[a] = 0;