Fix port for -stable
Broken by: Alex Langer <alex@big.endian.de> Break noticed by: Alex Langer <alex@big.endian.de> PR: 16518 Submitted by: Maintainer
This commit is contained in:
parent
0732e1763f
commit
da5b56c004
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25526
@ -25,7 +25,7 @@
|
||||
void make_maze(int x, int y, int difx, int dify);
|
||||
void convert(int ratio); /* ratio < 64 */
|
||||
- inline char& pos(int x, int y){ return data[(y<<sx_log2) + x];}
|
||||
+ inline char& pos(int x, int y){ return data[(y<<MAP_SIZEY_LOG2) + x];}
|
||||
+ inline char& pos(int x, int y){ return data[(y<<MAP_SIZEX_LOG2) + x];}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user