mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-04 08:17:40 +00:00
DIRECTOR: Fix return value of b_power
Fixes the puzzle minigame in Astrid Lindgren's Pippi.
This commit is contained in:
parent
d68b8354d5
commit
48333ad9fa
@ -436,7 +436,7 @@ void LB::b_power(int nargs) {
|
||||
Datum d1 = g_lingo->pop();
|
||||
Datum d2 = g_lingo->pop();
|
||||
Datum res(pow(d2.asFloat(), d1.asFloat()));
|
||||
g_lingo->push(d1);
|
||||
g_lingo->push(res);
|
||||
}
|
||||
|
||||
void LB::b_random(int nargs) {
|
||||
|
Loading…
Reference in New Issue
Block a user