summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f471d02..8e65b1b 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -471,7 +471,7 @@ void Game_SaveSceneFile(const char *sceneFilePath) {
}
stream << PKE_FILE_END << std::endl;
- } catch (std::exception e) {
+ } catch (std::exception &e) {
fprintf(stderr, "[%s][Game_SaveSceneFile] Failed to serialize scene file: %s\n", __FILE__, e.what());
failed = false;
} catch (...) {