1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/games/bombermaze/files/patch-src_map.cc

24 lines
441 B
C++
Raw Normal View History

2004-08-22 19:41:04 +00:00
$FreeBSD$
--- src/map.cc.orig Sun Feb 25 08:50:07 2001
+++ src/map.cc Sun Aug 22 21:25:12 2004
@@ -1587,7 +1587,7 @@
width = w;
height = h;
- map = new (char *)[width];
+ map = new char * [width];
unsigned i;
for (i = 0; i < width; i++)
@@ -1728,7 +1728,7 @@
void GameMap::allocate_map(MapSquare ***m)
{
- *m = new (MapSquare *)[width];
+ *m = new MapSquare * [width];
int i;
for (i = 0; i < width; i++)
{