aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/rdwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/rdwin.cpp')
-rw-r--r--sword2/driver/rdwin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/rdwin.cpp b/sword2/driver/rdwin.cpp
index 674ac960bf..42cc6e96de 100644
--- a/sword2/driver/rdwin.cpp
+++ b/sword2/driver/rdwin.cpp
@@ -60,7 +60,7 @@ void Sword2Engine::parseEvents() {
LogMouseEvent(RD_RIGHTBUTTONUP);
break;
case OSystem::EVENT_QUIT:
- Close_game();
+ g_sword2->closeGame();
break;
default:
break;