diff options
Diffstat (limited to 'src/game.h')
| -rw-r--r-- | src/game.h | 3 |
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/game.h b/src/game.h index 3b092dd..914df53 100644 --- a/src/game.h +++ b/src/game.h | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | #include "consts.h" | 13 | #include "consts.h" |
| 14 | #include "sign.h" | 14 | #include "sign.h" |
| 15 | #include "menu.h" | 15 | #include "menu.h" |
| 16 | #include "runtime.h" | ||
| 16 | 17 | ||
| 17 | class Renderer; | 18 | class Renderer; |
| 18 | 19 | ||
| @@ -88,7 +89,7 @@ public: | |||
| 88 | int player_oldx = 0; | 89 | int player_oldx = 0; |
| 89 | int player_oldy = 0; | 90 | int player_oldy = 0; |
| 90 | bool renderPlayer = true; | 91 | bool renderPlayer = true; |
| 91 | Animation playerAnim {"../res/player_anim.txt"}; | 92 | Animation playerAnim {Runtime::getResourcePath("player_anim.txt")}; |
| 92 | 93 | ||
| 93 | int maxZoom = INIT_ZOOM; | 94 | int maxZoom = INIT_ZOOM; |
| 94 | int curZoom = INIT_ZOOM; | 95 | int curZoom = INIT_ZOOM; |
