mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
AVALANCHE: refactor initVariables by reusing resetVariables(). That also should fix CID 1109674
This commit is contained in:
parent
9ed37e68d2
commit
8e31d44646
@ -144,30 +144,7 @@ void AvalancheEngine::initVariables() {
|
||||
_currentMouse = 177;
|
||||
_holdLeftMouse = false;
|
||||
|
||||
_jumpStatus = 0;
|
||||
_mushroomGrowing = false;
|
||||
_crapulusWillTell = false;
|
||||
_enterCatacombsFromLustiesRoom = false;
|
||||
_teetotal = false;
|
||||
_malagauche = 0;
|
||||
_drinking = '\0';
|
||||
_enteredLustiesRoomAsMonk = false;
|
||||
_catacombX = 0;
|
||||
_catacombY = 0;
|
||||
_avvysInTheCupboard = false;
|
||||
_geidaFollows = false;
|
||||
_givenPotionToGeida = false;
|
||||
_lustieIsAsleep = false;
|
||||
_beenTiedUp = false;
|
||||
_sittingInPub = false;
|
||||
_spurgeTalkCount = 0;
|
||||
_metAvaroid = false;
|
||||
_takenMushroom = false;
|
||||
_givenPenToAyles = false;
|
||||
_askedDogfoodAboutNim = false;
|
||||
_spludwickAtHome = false;
|
||||
_passedCwytalotInHerts = false;
|
||||
_lastRoom = _lastRoomNotMap = kRoomDummy;
|
||||
resetVariables();
|
||||
}
|
||||
|
||||
Common::ErrorCode AvalancheEngine::initialize() {
|
||||
|
Loading…
Reference in New Issue
Block a user