mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +00:00
SAGA2: Properly initialize static fields in mouseimg.cpp
This commit is contained in:
parent
4c36374d34
commit
39b629de92
@ -66,7 +66,7 @@ const int maxMouseTextLen = 80;
|
||||
|
||||
static char mouseText[maxMouseTextLen] = { "" }; // Current mouse text string
|
||||
|
||||
static StaticPoint16 mouseImageOffset; // Hotspot on mouse image
|
||||
static StaticPoint16 mouseImageOffset = {0, 0}; // Hotspot on mouse image
|
||||
|
||||
static gPixelMap *mouseImage = nullptr; // Current mouse cursor image
|
||||
|
||||
@ -114,7 +114,7 @@ static struct MouseCurosrs {
|
||||
gStaticImage *mouseCursors[kMouseMax];
|
||||
|
||||
static uint8 gaugeImageBuffer[gaugeImageWidth * gaugeImageHeight];
|
||||
static gPixelMap *gaugeImage;
|
||||
static gPixelMap *gaugeImage = nullptr;
|
||||
|
||||
static bool showGauge = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user