aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-03-15 11:01:15 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-03-15 11:01:39 +0100
commit0429ec4cfde636dd8dda3d1a0dcf6e175c821196 (patch)
tree82328d7431a3eb14496989d1eee6721db066b462 /src/game.cpp
parenta740a48f62261073190a92e9b60256da13817923 (diff)
downloadminetest-0429ec4cfde636dd8dda3d1a0dcf6e175c821196.tar.gz
minetest-0429ec4cfde636dd8dda3d1a0dcf6e175c821196.tar.bz2
minetest-0429ec4cfde636dd8dda3d1a0dcf6e175c821196.zip
Android: update makefile and backport language fix from master
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 8e88fbc8f..7fb99ef3e 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -4117,7 +4117,9 @@ inline void Game::limitFps(FpsControl *fps_timings, f32 *dtime)
fps_timings->last_time = time;
}
-
+// Note: This will free (using delete[])! \p msg. If you want to use it later,
+// pass a copy of it to this function
+// Note: \p msg must be allocated using new (not malloc())
void Game::showOverlayMessage(const wchar_t *msg, float dtime,
int percent, bool draw_clouds)
{