- fixed an uninitialized variable in p_xlat.cpp .

SVN r2004 (trunk)
This commit is contained in:
Christoph Oelckers 2009-11-27 21:45:17 +00:00
parent 53a6ffee15
commit f3b19fcca2
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
November 27, 2009 (Changes by Graf Zahl)
- fixed an uninitialized variable in p_xlat.cpp (Thanks, MSVC for not
warning about such an obvious problem! :( )
- fixed: The charge attack of Heretic's imp is not precisely the same
as A_SkullAttack with a different speed so A_ImpMsAttack has been
reinstated.

View File

@ -66,7 +66,7 @@ void P_TranslateLineDef (line_t *ld, maplinedef_t *mld)
unsigned short special = (unsigned short) LittleShort(mld->special);
short tag = LittleShort(mld->tag);
DWORD flags = LittleShort(mld->flags);
INTBOOL passthrough;
INTBOOL passthrough = 0;
DWORD flags1 = flags;
DWORD newflags = 0;