Bugfix [#32703] elbeem's isSimworldOk() will never return FALSE
authorDaniel Genrich <daniel.genrich@gmx.net>
Tue, 9 Oct 2012 13:09:03 +0000 (13:09 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Tue, 9 Oct 2012 13:09:03 +0000 (13:09 +0000)
Fixed as suggested by Campbell, thank you!

intern/elbeem/intern/utilities.cpp

index c912e70b28110f98007d657c8bd4e158a08b2646..2b9b8d5b8a5fab6ffb2ba37c8986881ed560cf9a 100644 (file)
@@ -51,7 +51,7 @@ int  getElbeemState(void) {
        return gElbeemState;
 }
 int  isSimworldOk(void) {
-       return (getElbeemState>=0);
+       return (getElbeemState() >=0);
 }
 
 // last error as string, acces with get/setElbeemErrorString