mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
LASTEXPRESS: Fix uninitialized scalar field (CID1002849)
This commit is contained in:
parent
9714cce46f
commit
a20bf7cb60
@ -83,6 +83,7 @@ class Scene;
|
||||
class SceneHotspot {
|
||||
public:
|
||||
enum Action {
|
||||
kActionNone = 0,
|
||||
kActionInventory = 1,
|
||||
kActionSavePoint = 2,
|
||||
kActionPlaySound = 3,
|
||||
@ -152,8 +153,19 @@ public:
|
||||
byte cursor;
|
||||
uint32 next;
|
||||
|
||||
SceneHotspot() {}
|
||||
SceneHotspot() {
|
||||
coordsOffset = 0;
|
||||
scene = kSceneNone;
|
||||
location = 0;
|
||||
action = kActionNone;
|
||||
param1 = 0;
|
||||
param2 = 0;
|
||||
param3 = 0;
|
||||
cursor = 0;
|
||||
next = 0;
|
||||
}
|
||||
~SceneHotspot();
|
||||
|
||||
static SceneHotspot *load(Common::SeekableReadStream *stream);
|
||||
|
||||
bool isInside(const Common::Point &point);
|
||||
|
Loading…
x
Reference in New Issue
Block a user