mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
Silenced MSVC warning about variable "flags" being potentially uninitialized inside setCollisions()
svn-id: r35359
This commit is contained in:
parent
dc3e9027f4
commit
55972d7624
@ -311,7 +311,7 @@ void Game_v6::setCollisions(byte arg_0) {
|
||||
int16 top = _vm->_parse->parseValExpr();
|
||||
int16 width = _vm->_parse->parseValExpr();
|
||||
int16 height = _vm->_parse->parseValExpr();
|
||||
uint16 flags;
|
||||
uint16 flags = 0;
|
||||
|
||||
if ((collArea->id & 0xF000) == 0xA000)
|
||||
flags = _vm->_parse->parseValExpr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user