diff options
author | Eugene Sandulenko | 2016-07-21 13:14:32 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-03 23:40:36 +0200 |
commit | e56295df638ff63b91ba37f174b78995798ddb18 (patch) | |
tree | c35e18b4ae9fa44598f9333b089670e7875d0f4b /engines/director | |
parent | 21730e9d7e4a7fbaa1bb437f3699e3a9e27a6e7d (diff) | |
download | scummvm-rg350-e56295df638ff63b91ba37f174b78995798ddb18.tar.gz scummvm-rg350-e56295df638ff63b91ba37f174b78995798ddb18.tar.bz2 scummvm-rg350-e56295df638ff63b91ba37f174b78995798ddb18.zip |
DIRECTOR: Lingo: Use M_PI constant instead of hardcode
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/lingo/lingo-builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/director/lingo/lingo-builtins.cpp b/engines/director/lingo/lingo-builtins.cpp index ab6e3b0986..e9c173bce6 100644 --- a/engines/director/lingo/lingo-builtins.cpp +++ b/engines/director/lingo/lingo-builtins.cpp @@ -116,7 +116,7 @@ void Lingo::b_log() { void Lingo::b_pi() { Datum d; d.toFloat(); - d.u.f = 3.14159265358979; + d.u.f = M_PI; g_lingo->push(d); } |