From a07d588c94f68cdc559ceb016c031c9199f0b868 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sun, 20 Mar 2022 11:52:09 -0400 Subject: we can now build a mac bundle! --- src/game.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.h') 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 @@ #include "consts.h" #include "sign.h" #include "menu.h" +#include "runtime.h" class Renderer; @@ -88,7 +89,7 @@ public: int player_oldx = 0; int player_oldy = 0; bool renderPlayer = true; - Animation playerAnim {"../res/player_anim.txt"}; + Animation playerAnim {Runtime::getResourcePath("player_anim.txt")}; int maxZoom = INIT_ZOOM; int curZoom = INIT_ZOOM; -- cgit 1.4.1