diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-09-03 19:51:40 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-09-05 00:21:16 +0200 |
commit | 7860097eda449f0bb99971a037967bd338441133 (patch) | |
tree | bcc66bcb45cb8753f2d82c22973c9fc867774cfa /src/localplayer.cpp | |
parent | 5b518ed2feff28c9bf21ad940c1b211b72d71bd1 (diff) | |
download | minetest-7860097eda449f0bb99971a037967bd338441133.tar.gz minetest-7860097eda449f0bb99971a037967bd338441133.tar.bz2 minetest-7860097eda449f0bb99971a037967bd338441133.zip |
Use player:set_hotbar_image() instead of hardcoded hotbar.png
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index f8dfca050..48e6592c1 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -43,6 +43,8 @@ LocalPlayer::LocalPlayer(IGameDef *gamedef): last_pitch(0), last_yaw(0), last_keyPressed(0), + hotbar_image(""), + hotbar_selected_image(""), m_sneak_node(32767,32767,32767), m_sneak_node_exists(false), m_old_node_below(32767,32767,32767), |