]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/command/rpn.qc
Merge branch 'drjaska/wep-reload-fixes' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / rpn.qc
index 7c944aa0feacc98e6875b38f31f563a769ff80e1..01e7c515f71e1c7fa6ebb7d1b83721e16e5e3045 100644 (file)
@@ -213,7 +213,7 @@ void GenericCommand_rpn(int request, int argc, string command)
                                        } else if(rpncmd == "exp") {
                                                rpn_setf(exp(rpn_getf()));
                                        } else if(rpncmd == "log") {
-                                               rpn_setf(exp(rpn_getf()));
+                                               rpn_setf(log(rpn_getf()));
                                        } else if(rpncmd == "sin") {
                                                rpn_setf(sin(rpn_getf()));
                                        } else if(rpncmd == "cos") {