DIRECTOR: Fix return value of b_power

Fixes the puzzle minigame in Astrid Lindgren's Pippi.
This commit is contained in:
Scott Percival 2024-02-10 09:09:58 +08:00
parent d68b8354d5
commit 48333ad9fa
No known key found for this signature in database

View File

@ -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) {