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:
Chris D. Faulhaber 2000-02-06 21:53:41 +00:00
parent 0732e1763f
commit da5b56c004
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25526

View File

@ -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];}
};