blob: 0e5e66185352b29cf64d3fabf706255afe8b37ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$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++)
{
|