freebsd-ports/games/enygma/files/patch-engine.c
Martin Wilke 9017311762 Enigma is a puzzle game involving falling blocks, exploding bombs, and pushing
stuff around. It has elements of Boulderdash and elements of Sokoban, and
anybody old enough to remember XOR on the Spectrum will see large elements of
that in it.
The port and executable have been named 'enygma' to avoid a name collision.

WWW: http://www.chiark.greenend.org.uk/~sgtatham/enigma/

PR:		ports/127427
Submitted by:	Wouter Reckman <gennerate at zonnet.nl>
2008-09-26 23:20:44 +00:00

11 lines
232 B
C

--- engine.c.orig Sun Sep 14 23:23:42 2008
+++ engine.c Sun Sep 14 22:06:32 2008
@@ -181,7 +181,7 @@
* process teleporters
*/
if (i == '#') {
- int x, y;
+ int x, y = 0;
/*
* First find the other teleporter.