diff options
Diffstat (limited to 'engines/sword25/math/geometry_script.cpp')
-rw-r--r-- | engines/sword25/math/geometry_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/math/geometry_script.cpp b/engines/sword25/math/geometry_script.cpp index 7a0fcd8188..f01f977f4a 100644 --- a/engines/sword25/math/geometry_script.cpp +++ b/engines/sword25/math/geometry_script.cpp @@ -202,7 +202,7 @@ static unsigned int TableRegionToRegion(lua_State *L, const char *ClassName) { return 0; } - unsigned int RegionHandle; + unsigned int RegionHandle = 0; if (!strcmp(ClassName, REGION_CLASS_NAME)) { RegionHandle = BS_Region::Create(BS_Region::RT_REGION); } else if (!strcmp(ClassName, WALKREGION_CLASS_NAME)) { |