mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
359c714dcf
Add patches/patch-ag, which fixes the problem where there was an undefined variable in class _map, which caused very weird things to happen during the game. I'm surprised the compiler didn't catch this. Submitted by: msmith, "S.C.Sprong" <s.c.sprong@student.utwente.nl>
12 lines
247 B
Plaintext
12 lines
247 B
Plaintext
--- map.C Wed Mar 13 11:34:31 1996
|
|
+++ map.C.new Mon Mar 20 22:00:29 2000
|
|
@@ -26,6 +26,8 @@
|
|
|
|
void _map::init()
|
|
{
|
|
+ sx = 1 << MAP_SIZEX_LOG2;
|
|
+ sy = 1 << MAP_SIZEY_LOG2;
|
|
int i, j;
|
|
for (i=0; i<sx; i++)
|
|
for (j=0; j<sy; j++)
|