mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 11:04:44 +00:00
TSAGE: R2R - Remove a useless variable in scene 800. This breaks savegame compatibility.
This commit is contained in:
parent
1b408217bd
commit
15bf769003
@ -6890,14 +6890,12 @@ void Scene800::signal() {
|
||||
|
||||
Scene825::Button::Button(): SceneObject() {
|
||||
_buttonId = 0;
|
||||
_v2 = 0;
|
||||
_buttonDown = false;
|
||||
}
|
||||
|
||||
void Scene825::Button::synchronize(Serializer &s) {
|
||||
SceneObject::synchronize(s);
|
||||
s.syncAsSint16LE(_buttonId);
|
||||
s.syncAsSint16LE(_v2);
|
||||
s.syncAsSint16LE(_buttonDown);
|
||||
}
|
||||
|
||||
@ -6931,7 +6929,6 @@ bool Scene825::Button::startAction(CursorType action, Event &event) {
|
||||
|
||||
void Scene825::Button::setButton(int buttonId) {
|
||||
SceneObject::postInit();
|
||||
_v2 = buttonId;
|
||||
_buttonDown = 0;
|
||||
_sceneText._color1 = 92;
|
||||
_sceneText._color2 = 0;
|
||||
|
@ -806,7 +806,7 @@ class Scene825: public SceneExt {
|
||||
/* Objects */
|
||||
class Button: public SceneObject {
|
||||
public:
|
||||
int _buttonId, _v2;
|
||||
int _buttonId;
|
||||
bool _buttonDown;
|
||||
SceneText _sceneText;
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user