diff options
Diffstat (limited to 'engines/titanic/star_control/star_control_sub26.cpp')
-rw-r--r-- | engines/titanic/star_control/star_control_sub26.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/star_control/star_control_sub26.cpp b/engines/titanic/star_control/star_control_sub26.cpp index 9d796a0475..89ff93c347 100644 --- a/engines/titanic/star_control/star_control_sub26.cpp +++ b/engines/titanic/star_control/star_control_sub26.cpp @@ -25,4 +25,10 @@ namespace Titanic { +double CStarControlSub26::fn1() const { + return _sub._v1 * _sub._v1 + _sub._v2 * _sub._v2 + + _sub._v3 * _sub._v3 + _field0 * _field0; +} + + } // End of namespace Titanic |