Mercurial > hg > early-roguelike
comparison srogue/scrolls.c @ 211:382ff498acdd
Initialize some more pointers for the benefit of MSVC.
There should be no more errors with Visual Studio 2015, in Debug or
Release mode.
author | John "Elwin" Edwards |
---|---|
date | Thu, 21 Jan 2016 21:10:23 -0500 |
parents | 3aa87373c908 |
children | 94a0d9dd5ce1 |
comparison
equal
deleted
inserted
replaced
210:c4f2e1bda8b0 | 211:382ff498acdd |
---|---|
386 s_know[S_MAKEIT] = TRUE; | 386 s_know[S_MAKEIT] = TRUE; |
387 create_obj(TRUE); | 387 create_obj(TRUE); |
388 } | 388 } |
389 when S_BAN: { | 389 when S_BAN: { |
390 int howdeep; | 390 int howdeep; |
391 char *ptr; | 391 char *ptr = ""; |
392 | 392 |
393 if (bless) { | 393 if (bless) { |
394 if (level > 6) { | 394 if (level > 6) { |
395 howdeep = 1 + rnd(5); | 395 howdeep = 1 + rnd(5); |
396 ptr = "elevated to the upper"; | 396 ptr = "elevated to the upper"; |