looking a little at haskell, the functions have no "end"s... which I assume means that the language is entirely dependant on proper indentation. that feels backwards to me; I've always liked languages where the whitespace is ignored. a newline, a space, and a tab should all be treated the same, imo. that's one thing I like very much about lua... :P

I think it's hard to read something that opens and has no visible close other than by position, anyway. makes my brain go bleah... still better than going the xhtml rout though; can you imagine if we ended our if-statements with </if> :P

Zeno`: the only cause I can think of is that the mob somehow got removed in the middle of its execution instead of waiting until it's done... the offending line just says "self.pause_timer = r", which would only cause an "attempt to index a nil value" error if self does not exist... but that doesn't seem to make sense, as the previous line also accesses self and doesn't cause an error...

Zeno`: I have no idea what you're doing or what's going on. I have next to zero knowledge of IRC. heck, I can't even figure out how to use a client application! I have KVirc installed, but can't get it to connect to #minetest, so I've been using the webchat instead... :/

So I changed somaphores from always using a *global* mutex lock on OSX to only using a local one if you're using OSX without C++11 with something other than a (not-so-)recent GCC (Feb 2006 or later). It should also use atomic ops on semi-recent Clang, but I haven't found a way to check for the __sync_ family of functions on LLVM.