1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/xkobo/files/patch-ag
Will Andrews 359c714dcf Change email address for MAINTAINER to my @FreeBSD.org.
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>
2000-03-21 22:47:00 +00:00

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++)