From c443b84daeeb5db5736e1062fdb70a7124d5adaf Mon Sep 17 00:00:00 2001 From: Littleboy Date: Wed, 30 Dec 2015 19:50:06 -0500 Subject: [PATCH] LASTEXPRESS: Rename Vassili functions --- engines/lastexpress/entities/vassili.cpp | 6 +++--- engines/lastexpress/entities/vassili.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/lastexpress/entities/vassili.cpp b/engines/lastexpress/entities/vassili.cpp index 2faaa30b6f0..e28ace95bee 100644 --- a/engines/lastexpress/entities/vassili.cpp +++ b/engines/lastexpress/entities/vassili.cpp @@ -46,7 +46,7 @@ Vassili::Vassili(LastExpressEngine *engine) : Entity(engine, kEntityVassili) { ADD_CALLBACK_FUNCTION(Vassili, savegame); ADD_CALLBACK_FUNCTION(Vassili, chapter1); ADD_CALLBACK_FUNCTION(Vassili, chapter1Handler); - ADD_CALLBACK_FUNCTION(Vassili, function6); + ADD_CALLBACK_FUNCTION(Vassili, inBed); ADD_CALLBACK_FUNCTION(Vassili, function7); ADD_CALLBACK_FUNCTION(Vassili, function8); ADD_CALLBACK_FUNCTION(Vassili, function9); @@ -126,7 +126,7 @@ IMPLEMENT_FUNCTION(5, Vassili, chapter1Handler) break; case kAction122732000: - setup_function6(); + setup_inBed(); break; case kAction168459827: @@ -137,7 +137,7 @@ IMPLEMENT_FUNCTION(5, Vassili, chapter1Handler) IMPLEMENT_FUNCTION_END ////////////////////////////////////////////////////////////////////////// -IMPLEMENT_FUNCTION(6, Vassili, function6) +IMPLEMENT_FUNCTION(6, Vassili, inBed) switch (savepoint.action) { default: break; diff --git a/engines/lastexpress/entities/vassili.h b/engines/lastexpress/entities/vassili.h index dfdacf79208..e5456edd344 100644 --- a/engines/lastexpress/entities/vassili.h +++ b/engines/lastexpress/entities/vassili.h @@ -64,7 +64,7 @@ public: */ DECLARE_FUNCTION(chapter1Handler) - DECLARE_FUNCTION(function6) + DECLARE_FUNCTION(inBed) DECLARE_FUNCTION(function7) DECLARE_FUNCTION(function8) DECLARE_FUNCTION(function9)