aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/hotspots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp
index 02d112869a..d47c31840d 100644
--- a/engines/gob/hotspots.cpp
+++ b/engines/gob/hotspots.cpp
@@ -1795,7 +1795,7 @@ uint32 Hotspots::getCurrentHotspot() const {
}
void Hotspots::cleanFloatString(const Hotspot &spot) const {
- char tempStr[256];
+ static char tempStr[256]; //the static keyword is unnecessary, but was added to work around a PSP compiler ICE.
// Get the string
strncpy0(tempStr, GET_VARO_STR(spot.key), 255);