diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-29 20:00:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-30 19:53:08 +0300 |
commit | d3e7af659bae3ea4cf1037fca81e071acbab31ec (patch) | |
tree | 7fd41dd36a82abb9c0cabe01d4d9fc573eb6c2bf /src/game.cpp | |
parent | e8290536d8cba7b10ddc60033b7ca29d8347c266 (diff) | |
download | manaverse-d3e7af659bae3ea4cf1037fca81e071acbab31ec.tar.gz manaverse-d3e7af659bae3ea4cf1037fca81e071acbab31ec.tar.bz2 manaverse-d3e7af659bae3ea4cf1037fca81e071acbab31ec.tar.xz manaverse-d3e7af659bae3ea4cf1037fca81e071acbab31ec.zip |
Smal refactoring in resize code.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 70468ebfd..b6e956c98 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1638,7 +1638,7 @@ void Game::handleInput() if (event.type == SDL_VIDEORESIZE) { // Let the client deal with this one (it'll pass down from there) - Client::instance()->resizeVideo(event.resize.w, event.resize.h); + Client::resize(event.resize.w, event.resize.h); } // Keyboard events (for discontinuous keys) else if (event.type == SDL_KEYDOWN) |